jd.xml.xslt.trax
Class TraxModelXmlSource

java.lang.Object
  extended byjd.xml.xslt.trax.TraxModelXmlSource
All Implemented Interfaces:
Source

public class TraxModelXmlSource
extends Object
implements Source

A TrAX source holding a constructed XPath tree model.


Constructor Summary
TraxModelXmlSource(String systemId, XPathRootNode root)
           
 
Method Summary
 XPathRootNode getRoot()
           
 String getSystemId()
          Get the system identifier that was set with setSystemId.
 void setSystemId(String id)
          Set the system identifier for this Source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraxModelXmlSource

public TraxModelXmlSource(String systemId,
                          XPathRootNode root)
Method Detail

getRoot

public XPathRootNode getRoot()

getSystemId

public String getSystemId()
Description copied from interface: Source
Get the system identifier that was set with setSystemId.

Specified by:
getSystemId in interface Source
Returns:
The system identifier that was set with setSystemId, or null if setSystemId was not called.

setSystemId

public void setSystemId(String id)
Description copied from interface: Source
Set the system identifier for this Source.

The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings.

Specified by:
setSystemId in interface Source
Parameters:
id - The system identifier as a URL string.