Qizx fe-4.4p2 API

com.qizx.api.util
Class NodeSource

java.lang.Object
  extended by javax.xml.transform.sax.SAXSource
      extended by com.qizx.api.util.NodeSource
All Implemented Interfaces:
Source

public class NodeSource
extends SAXSource

An extension of SAXSource that allows using a Qizx Document or Node as a source for an XSLT transformation.


Field Summary
 
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
 
Constructor Summary
NodeSource(Node node)
          Creates a NodeSource from a Node.
 
Method Summary
 Node getRootNode()
          Returns the Node used as input by the XSLT transformation.
 
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSource

public NodeSource(Node node)
Creates a NodeSource from a Node.

Parameters:
node - the XML tree to transform by a XSLT processor.
Method Detail

getRootNode

public Node getRootNode()
Returns the Node used as input by the XSLT transformation.

Returns:
the root node set in the constructor

© 2010 Axyana Software