|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.XdsCommandProcessor
public class XdsCommandProcessor
A command processor designed primarily for use within XSLT stylesheets used as rules, or by functions called from an XSLT stylesheet used as a rule.
The DirXML engine passed two stylesheet parameters to an XSLT stylesheet rule.
Both parameters are of type XdsCommandProcessor
. One is named srcCommandProcessor and
will execute the command using source of the current transaction (NDS for subscriber-channel transactions
and the app shim for publisher-channel transactions) and the other is named
destQueryProcessor and will execute the command using the destination of the current transaction (the
app shim for subscriber-channel transactions and NDS for publisher channel transactions).
Constructor Summary | |
---|---|
XdsCommandProcessor(com.novell.nds.dirxml.engine.XdsCommandProcessor processor,
com.novell.nds.dirxml.engine.VRDExceptionListener listener)
Create an XdsCommandProcessor . |
Method Summary | |
---|---|
Document |
execute(Document executeDoc)
Execute an XDS command contained in the passed document. |
Document |
execute(ExpressionValue executeValue)
Perform an XDS query contained in the passed ExpressionValue. |
Document |
execute(NodeSet executeSet)
Execute an XDS command contained in the passed XPath nodeset. |
Document |
execute(ResultTreeFragment executeFragment)
Execute an XDS command contained in the passed XSLT result tree fragment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XdsCommandProcessor(com.novell.nds.dirxml.engine.XdsCommandProcessor processor, com.novell.nds.dirxml.engine.VRDExceptionListener listener)
XdsCommandProcessor
. Since the engine version of XdsCommandProcessor
can
only be created by the engine, this effectively limits instance creation of
the command processor to the engine.
processor
- The engine query processor that will actually perform the querylistener
- The object to notify in case of an exceptionMethod Detail |
---|
public Document execute(Document executeDoc) throws com.novell.nds.dirxml.engine.VRDException
executeDoc
- The XDS document containing the command to execute.
com.novell.nds.dirxml.engine.VRDException
public Document execute(ResultTreeFragment executeFragment) throws com.novell.nds.dirxml.engine.VRDException
executeFragment
- The XSLT result tree fragment containing the command to execute. This must
be a well-formed XDS document from the fragment root down.
com.novell.nds.dirxml.engine.VRDException
public Document execute(NodeSet executeSet) throws com.novell.nds.dirxml.engine.VRDException
executeSet
- The XPath nodeset containing the command to execute. This must
be a well-formed XDS document from the fragment root down.
com.novell.nds.dirxml.engine.VRDException
public Document execute(ExpressionValue executeValue) throws com.novell.nds.dirxml.engine.VRDException, XPathConversionException
executeValue
- The NodeSet or ResultTree fragment containing XdsQuery
com.novell.nds.dirxml.engine.VRDException
XPathConversionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |