org.exolab.adaptx.jaxp.transform.sax
Class TransformerHandlerImpl
- ContentHandler, DocumentHandler, LexicalHandler, TransformerHandler
public class TransformerHandlerImpl
implements TransformerHandler
An implemenation of the JAXP TransformerHandler interface
see javax.xml.transform.sax.TransformerHandler
for more information
$Revision: 3827 $ $Date: 2003-09-09 06:40:54 +0200 (Tue, 09 Sep 2003) $
String | getSystemId() - Get the base ID (URI or system ID) from where relative
URLs will be resolved.
|
Transformer | getTransformer() - Get the Transformer associated with this handler, which
is needed in order to set parameters and output properties.
|
void | notationDecl(String name, String publicId, String systemId)
|
void | setResult(Result result) - Enables the user of the TransformerHandler to set the
to set the Result for the transformation.
|
void | setSystemId(String systemID) - Set the base ID (URI or system ID) from where relative
URLs will be resolved.
|
void | unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
|
characters , comment , endCDATA , endDTD , endDocument , endElement , endElement , endEntity , endPrefixMapping , getRoot , ignorableWhitespace , processingInstruction , setDocumentLocator , setOutputHandler , setOutputHandler , setProcessor , setStylesheet , skippedEntity , startCDATA , startDTD , startDocument , startElement , startElement , startEntity , startPrefixMapping |
TransformerHandlerImpl
public TransformerHandlerImpl()
Creates a new TransformerHandlerImpl
TransformerHandlerImpl
public TransformerHandlerImpl(XSLTStylesheet stylesheet)
Creates a new TransformerHandlerImpl with the given
XSLTStylesheet to use during the transformation.
stylesheet
- the XSLTStylesheet to use during the transformation
getSystemId
public String getSystemId()
Get the base ID (URI or system ID) from where relative
URLs will be resolved.
getTransformer
public Transformer getTransformer()
Get the Transformer associated with this handler, which
is needed in order to set parameters and output properties.
notationDecl
public void notationDecl(String name,
String publicId,
String systemId)
throws SAXException
setResult
public void setResult(Result result)
throws IllegalArgumentException
Enables the user of the TransformerHandler to set the
to set the Result for the transformation.
A result must be set before the events are fired!
result
- A Result instance, should not be null.
setSystemId
public void setSystemId(String systemID)
Set the base ID (URI or system ID) from where relative
URLs will be resolved.
systemID
- Base URI for the source tree.
unparsedEntityDecl
public void unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
throws SAXException