javax.xml.transform

Interface Source

public interface Source

Identifies the URI for either a transformation (XSLT stylesheet) or an input to a transformation (XML document to be transformed).

Version: 1.0

Author: Andrew Selkirk, David Brownell

Method Summary
StringgetSystemId()
Returns the URI for this source.
voidsetSystemId(String systemID)
Associates a URI with this source.

Method Detail

getSystemId

public String getSystemId()
Returns the URI for this source. Some sources may not need URIs, for example ones provided as an input stream, but such URIs are important for resolving relative URIs and for providing usable diagnostics.

setSystemId

public void setSystemId(String systemID)
Associates a URI with this source.

Parameters: systemID the URI

Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.