Package org.w3c.xsl
Interface XSLTContext
- All Known Implementing Classes:
Context
public interface XSLTContext
Interface to be used with XSLT extension functions written in Java
-
Method Summary
Modifier and TypeMethodDescriptionReturn the context node from the XPath expression contextint
Return the context position from the XPath expression contextint
Return the context size from the XPath expression contextReturn the current node from the XSLT context: the same as the result of calling the current() function from the XPath expression contextReturn a Document to be used for creating nodesstringValue
(Node n) Return the string-value of the specified NodesystemProperty
(String namespaceURI, String localName) Return an object representing the value of the system property whose expanded name has the specified URI and local part
-
Method Details
-
getContextNode
Node getContextNode()Return the context node from the XPath expression context -
getContextPosition
int getContextPosition()Return the context position from the XPath expression context -
getContextSize
int getContextSize()Return the context size from the XPath expression context -
getCurrentNode
Node getCurrentNode()Return the current node from the XSLT context: the same as the result of calling the current() function from the XPath expression context -
getOwnerDocument
Document getOwnerDocument()Return a Document to be used for creating nodes -
systemProperty
Return an object representing the value of the system property whose expanded name has the specified URI and local part -
stringValue
Return the string-value of the specified Node
-