Program is an o:XML program.
Load and compile a program from a file or network resource.
Same as: Program($systemId, true())
try{ program = programproxy.getProgram(systemId.stringValue()); program.loadExtension("org.oXML.extras.java.JavaExtensions"); program.loadExtension("org.oXML.extras.db.DatabaseExtensions"); program.loadExtension("org.oXML.extras.xinclude.XIncludeExtensions"); if(!program.compiled()) program.compile(); }catch(org.xml.sax.SAXException exc){ throw new ObjectBoxException(exc); }catch(java.io.IOException exc){ throw new ObjectBoxException(exc); } Node systemId, Node defaultExtensionsLoad and compile a program from a file or network resource.
Parameter defaultExtensions: If true, load the default language extensions.
try{ program = programproxy.getProgram(systemId.stringValue()); if(defaultExtensions.booleanValue()){ program.loadExtension("org.oXML.extras.java.JavaExtensions"); program.loadExtension("org.oXML.extras.db.DatabaseExtensions"); program.loadExtension("org.oXML.extras.xinclude.XIncludeExtensions"); } if(!program.compiled()) program.compile(); }catch(org.xml.sax.SAXException exc){ throw new ObjectBoxException(exc); }catch(java.io.IOException exc){ throw new ObjectBoxException(exc); }Set the names of all this program's parameters.
Execute this Program.
Returns: The generated program output or return value.
Set a program parameter.
Set a program parameter.