org.w3c.xsl
Interface XSLTContext

All Known Implementing Classes:
JavaXsltContext

public interface XSLTContext

Interface to be used with XSLT extension functions written in Java


Method Summary
 Node getContextNode()
          Return context node from the XPath expression context.
 int getContextPosition()
          Returns the context position from the XPath expression context.
 int getContextSize()
          Returns the context size from the XPath expression context.
 Node getCurrentNode()
          Returns the current node from the XSLT context; the same as calling current() function from the XPath expression context.
 Document getOwnerDocument()
          Returns a Document to be used for creating nodes.
 String stringValue(Node n)
          Returns the string-value of the specified Node.
 Object systemProperty(String namespaceURI, String localName)
          Returns an Object representing the value of the system property whose expanded-name has the specified namespace URI and local part.
 

Method Detail

getContextNode

public Node getContextNode()
Return context node from the XPath expression context.


getContextPosition

public int getContextPosition()
Returns the context position from the XPath expression context.


getContextSize

public int getContextSize()
Returns the context size from the XPath expression context.


getCurrentNode

public Node getCurrentNode()
Returns the current node from the XSLT context; the same as calling current() function from the XPath expression context.


getOwnerDocument

public Document getOwnerDocument()
Returns a Document to be used for creating nodes.


systemProperty

public Object systemProperty(String namespaceURI,
                             String localName)
Returns an Object representing the value of the system property whose expanded-name has the specified namespace URI and local part.


stringValue

public String stringValue(Node n)
Returns the string-value of the specified Node.