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
 Node getContextNode()
          Return the context node from the XPath expression context
 int getContextPosition()
          Return the context position from the XPath expression context
 int getContextSize()
          Return the context size from the XPath expression context
 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
 Document getOwnerDocument()
          Return a Document to be used for creating nodes
 String stringValue(Node n)
          Return the string-value of the specified Node
 Object systemProperty(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 Detail

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

Object systemProperty(String namespaceURI,
                      String localName)
Return an object representing the value of the system property whose expanded name has the specified URI and local part


stringValue

String stringValue(Node n)
Return the string-value of the specified Node