org.exolab.adaptx.xslt
public class RuleProcessor extends ErrorObserverAdapter
Version: $Revision: 4530 $ $Date: 2004-07-28 23:29:07 -0400 (Wed, 28 Jul 2004) $
Field Summary | |
---|---|
static String | XSL_VENDOR
The XSL vendor property name
|
static String | XSL_VENDOR_URL
The XSL vendor-url property name
|
static String | XSL_VERSION
The XSL version property name
|
Constructor Summary | |
---|---|
RuleProcessor(XSLTStylesheet xsl)
Create a RuleProcessor for the given XSL stylesheet |
Method Summary | |
---|---|
void | addFunctionResolver(FunctionResolver fnResolver)
Adds the given FunctionResolver used for resovling
extension functions. |
void | addMessageObserver(MessageObserver msgObserver)
Adds the given MessageObserver to this processors list
of MessageObservers |
String | getParameter(String name)
Returns the parameter value associated with the given name.
|
String | getProperty(String name)
Returns the property value that is associated with the given name. |
URIResolver | getURIResolver()
Returns the URIResolver for resolving all URIs.
|
void | process(XPathNode source, ResultHandler handler)
Processes the given XML Document using this processors stylesheet.
|
MessageObserver | removeMessageObserver(MessageObserver msgObserver)
Removes the given MessageObserver from this processors list
of MessageObservers |
void | setParameter(String name, String value)
Sets a property which may be accessed from the XSLT
stylesheet via a call to the xslp:param extension function |
void | setURIResolver(URIResolver resolver)
Sets the URIResolver for resolving all URIs. |
Parameters: xsl the XSLStylesheet to process domParser the DOMParser to use when creating the result tree
Parameters: fnResolver the FunctionResolver to add
See Also: org.exolab.adaptx.xpath.FunctionResolver
Parameters: msgObserver the MessageObserver to add to this processors list of MessageObservers
Parameters: name the name of the parameter to retrieve the value of
Returns: the parameter value associated with the given name.
Parameters: name the name of the property to retrieve the value of
Returns: the property value that is associated with the given name.
Returns: the URIResolver for resolving all URIs.
Parameters: source the XPathNode to process handler the ResultHandler for the result tree
Returns: the result tree as a DOM NodeList
Parameters: msgObserver the MessageObserver to remove from this processors list of MessageObservers
Returns: the given MessageObserver if it was removed from the list, otherwise return null
Parameters: name the name of the parameter value the value of the parameter
Parameters: resolver the URIResolver to use