Package org.w3c.xsl
Interface XSLTContext
-
- All Known Implementing Classes:
Context
public interface XSLTContextInterface to be used with XSLT extension functions written in Java
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.w3c.dom.NodegetContextNode()Return the context node from the XPath expression contextintgetContextPosition()Return the context position from the XPath expression contextintgetContextSize()Return the context size from the XPath expression contextorg.w3c.dom.NodegetCurrentNode()Return the current node from the XSLT context: the same as the result of calling the current() function from the XPath expression contextorg.w3c.dom.DocumentgetOwnerDocument()Return a Document to be used for creating nodesjava.lang.StringstringValue(org.w3c.dom.Node n)Return the string-value of the specified Nodejava.lang.ObjectsystemProperty(java.lang.String namespaceURI, java.lang.String localName)Return an object representing the value of the system property whose expanded name has the specified URI and local part
-
-
-
Method Detail
-
getContextNode
org.w3c.dom.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
org.w3c.dom.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
org.w3c.dom.Document getOwnerDocument()
Return a Document to be used for creating nodes
-
systemProperty
java.lang.Object systemProperty(java.lang.String namespaceURI, java.lang.String localName)Return an object representing the value of the system property whose expanded name has the specified URI and local part
-
stringValue
java.lang.String stringValue(org.w3c.dom.Node n)
Return the string-value of the specified Node
-
-