org.exolab.adaptx.xslt
public class XSLTReader extends ErrorObserverAdapter
Version: $Revision: 3925 $ $Date: 2003-10-01 04:50:32 -0400 (Wed, 01 Oct 2003) $
Modifcations
19990804: Mike Los (comments with MEL)
- modified #readDocument to close InputStream
Constructor Summary | |
---|---|
XSLTReader()
Creates a new Default XSLTReader
| |
XSLTReader(URIResolver uriResolver) |
Method Summary | |
---|---|
void | addErrorObserver(ErrorObserver observer)
Adds the given ErrorObserver to the list of ErrorObservers
for this XSLReader |
URIResolver | getURIResolver()
Returns the URIResolver being used by this XSLReader
|
XSLTStylesheet | read(URL url)
Reads the XSLStylesheet pointed to by the given URL |
XSLTStylesheet | read(Document document, String filename)
Reads an XSL stylesheet using the given DOM Document |
XSLTStylesheet | read(Node node, String filename)
Reads an XSL stylesheet using the given DOM Node
|
XSLTStylesheet | read(InputSource source)
Reads an XSL stylesheet from the given uri (filename) |
XSLTStylesheet | read(String uri)
Reads an XSL stylesheet from the given uri (filename) |
XSLTStylesheet | read(String uri, String documentBase)
Reads an XSL stylesheet from the given uri, using the
given documentBase to resolve relative URI's. |
XSLTStylesheet | read(URILocation location)
Reads an XSLStylesheet from the given URILocation
|
void | setEntityResolver(EntityResolver resolver)
Sets an EntityResolver to be passed to the underlying
XML parser. |
void | setURIResolver(URIResolver resolver)
Sets the URIResolver for this XSLReader
|
Parameters: observer the ErrorObserver to add
Returns: the URIResolver being used by this XSLReader
Parameters: url the URL of the stylesheet
Returns: the XSLStylesheet
Parameters: Document the DOM Document that is the Stylesheet filename the full path and filename of the Stylesheet which is used for resolving relative URIs.
Parameters: node the DOM Node that contains the Stylesheet filename the full path and filename of the Stylesheet which is used for resolving relative URIs.
Parameters: uri the file name of the XSLT stylesheet to read
Returns: the new XSLStylesheet
Throws: XSLException
Parameters: uri the file name of the XSLT stylesheet to read
Returns: the new XSLStylesheet
Throws: XSLException
Parameters: uri the file name of the XSLT stylesheet to read
Returns: the new XSLStylesheet
Throws: XSLException
Parameters: location the URILocation of the XSLT stylesheet
Returns: the new XSLStylesheet
Throws: XSLException
Parameters: resolver the EntityResolver to use
Parameters: resolver the URIResolver this XSLReader should use for resolving all URIs.