org.apache.xalan.xsltc.trax

Class XSLTCSource

public final class XSLTCSource extends Object implements Source

Author: Morten Jorgensen

Constructor Summary
XSLTCSource(String systemId)
Create a new XSLTC-specific source from a system ID
XSLTCSource(Source source)
Create a new XSLTC-specific source from a JAXP Source
Method Summary
StringgetSystemId()
Implements javax.xml.transform.Source.getSystemId() Get the system identifier that was set with setSystemId.
voidsetSystemId(String systemId)
Implements javax.xml.transform.Source.setSystemId() Set the system identifier for this Source.

Constructor Detail

XSLTCSource

public XSLTCSource(String systemId)
Create a new XSLTC-specific source from a system ID

XSLTCSource

public XSLTCSource(Source source)
Create a new XSLTC-specific source from a JAXP Source

Method Detail

getSystemId

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

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

setSystemId

public void setSystemId(String systemId)
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 The system Id for this Source

Copyright B) 2005 Apache XML Project. All Rights Reserved.