javax.xml.transform
Interface Source

All Known Implementing Classes:
DOMSource, SAXSource, StreamSource

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
 java.lang.String getSystemId()
          Returns the URI for this source.
 void setSystemId(java.lang.String systemID)
          Associates a URI with this source.
 

Method Detail

getSystemId

public java.lang.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(java.lang.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 2001-11-20.