APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.trax

public final Class XSLTCSource

extends Object
implements Source
Class Inheritance
All Implemented Interfaces
javax.xml.transform.Source
Imports
com.sun.org.apache.xalan.internal.xsltc.DOM, .StripFilter, com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg, com.sun.org.apache.xalan.internal.xsltc.dom.DOMWSFilter, .SAXImpl, .XSLTCDTMManager, com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet, javax.xml.transform.Source, javax.xml.transform.stream.StreamSource, org.xml.sax.SAXException

Author
Morten Jorgensen

Field Summary

Modifier and TypeField and Description
private ThreadLocal<SAXImpl>
private Source
private String

Constructor Summary

AccessConstructor and Description
public
XSLTCSource(String systemId)

Create a new XSLTC-specific source from a system ID

public
XSLTCSource(Source source)

Create a new XSLTC-specific source from a JAXP Source

Method Summary

Modifier and TypeMethod and Description
protected DOM
getDOM(XSLTCDTMManager dtmManager, AbstractTranslet translet)

Internal interface which returns a DOM for a given DTMManager and translet.

public String

Returns:

The system identifier that was set with setSystemId, or null if setSystemId was not called.
getSystemId
()

Implements javax.xml.transform.Source.getSystemId.

Implements javax.xml.transform.Source.getSystemId() Get the system identifier that was set with setSystemId.

public void
setSystemId(String
The system Id for this Source
systemId
)

Implements javax.xml.transform.Source.setSystemId.

Implements javax.xml.transform.Source.setSystemId() Set the system identifier for this Source.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_domback to summary
private ThreadLocal<SAXImpl> _dom
_sourceback to summary
private Source _source
_systemIdback to summary
private String _systemId

Constructor Detail

XSLTCSourceback to summary
public XSLTCSource(String systemId)

Create a new XSLTC-specific source from a system ID

XSLTCSourceback to summary
public XSLTCSource(Source source)

Create a new XSLTC-specific source from a JAXP Source

Method Detail

getDOMback to summary
protected DOM getDOM(XSLTCDTMManager dtmManager, AbstractTranslet translet) throws SAXException

Internal interface which returns a DOM for a given DTMManager and translet.

getSystemIdback to summary
public String getSystemId()

Implements javax.xml.transform.Source.getSystemId.

Implements javax.xml.transform.Source.getSystemId() Get the system identifier that was set with setSystemId.

Returns:String

The system identifier that was set with setSystemId, or null if setSystemId was not called.

setSystemIdback to summary
public void setSystemId(String systemId)

Implements javax.xml.transform.Source.setSystemId.

Implements javax.xml.transform.Source.setSystemId() Set the system identifier for this Source. This Source can get its input either directly from a file (in this case it will instanciate and use a JAXP parser) or it can receive it through ContentHandler/LexicalHandler interfaces.

Parameters
systemId:String

The system Id for this Source