public class TransformerHandlerImpl extends Object implements TransformerHandler, DeclHandler
| Constructor and Description |
|---|
TransformerHandlerImpl(TransformerImpl transformer)
Cosntructor - pass in reference to a TransformerImpl object
|
| Modifier and Type | Method and Description |
|---|---|
void |
attributeDecl(String eName,
String aName,
String type,
String valueDefault,
String value)
Implements org.xml.sax.ext.DeclHandler.attributeDecl()
|
void |
characters(char[] ch,
int start,
int length)
Implements org.xml.sax.ContentHandler.characters()
Receive notification of character data.
|
void |
comment(char[] ch,
int start,
int length)
Implements org.xml.sax.ext.LexicalHandler.comment()
Receieve notification of a comment
|
void |
elementDecl(String name,
String model)
Implements org.xml.sax.ext.DeclHandler.elementDecl()
|
void |
endCDATA()
Implements org.xml.sax.ext.LexicalHandler.endCDATA()
|
void |
endDocument()
Implements org.xml.sax.ContentHandler.endDocument()
Receive notification of the end of a document.
|
void |
endDTD()
Implements org.xml.sax.ext.LexicalHandler.endDTD()
|
void |
endElement(String namespaceURI,
String localName,
String qname)
Implements org.xml.sax.ContentHandler.endElement()
Receive notification of the end of an element.
|
void |
endEntity(String name)
Implements org.xml.sax.ext.LexicalHandler.endEntity()
|
void |
endPrefixMapping(String prefix)
Implements org.xml.sax.ContentHandler.endPrefixMapping()
End the scope of a prefix-URI Namespace mapping.
|
void |
externalEntityDecl(String name,
String publicId,
String systemId)
Implements org.xml.sax.ext.DeclHandler.externalEntityDecl()
|
String |
getSystemId()
Implements javax.xml.transform.sax.TransformerHandler.getSystemId()
Get the base ID (URI or system ID) from where relative URLs will be
resolved.
|
Transformer |
getTransformer()
Implements javax.xml.transform.sax.TransformerHandler.getTransformer()
Get the Transformer associated with this handler, which is needed in
order to set parameters and output properties.
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Implements org.xml.sax.ContentHandler.ignorableWhitespace()
Receive notification of ignorable whitespace in element
content.
|
void |
internalEntityDecl(String name,
String value)
Implements org.xml.sax.ext.DeclHandler.externalEntityDecl()
|
void |
notationDecl(String name,
String publicId,
String systemId)
Implements org.xml.sax.DTDHandler.notationDecl()
|
void |
processingInstruction(String target,
String data)
Implements org.xml.sax.ContentHandler.processingInstruction()
Receive notification of a processing instruction.
|
void |
setDocumentLocator(Locator locator)
Implements org.xml.sax.ContentHandler.setDocumentLocator()
Receive an object for locating the origin of SAX document events.
|
void |
setResult(Result result)
Implements javax.xml.transform.sax.TransformerHandler.setResult()
Enables the user of the TransformerHandler to set the to set the Result
for the transformation.
|
void |
setSystemId(String id)
Implements javax.xml.transform.sax.TransformerHandler.setSystemId()
Get the base ID (URI or system ID) from where relative URLs will be
resolved.
|
void |
skippedEntity(String name)
Implements org.xml.sax.ContentHandler.skippedEntity()
Receive notification of a skipped entity.
|
void |
startCDATA()
Implements org.xml.sax.ext.LexicalHandler.startCDATA()
|
void |
startDocument()
Implements org.xml.sax.ContentHandler.startDocument()
Receive notification of the beginning of a document.
|
void |
startDTD(String name,
String publicId,
String systemId)
Implements org.xml.sax.ext.LexicalHandler.startDTD()
|
void |
startElement(String uri,
String localName,
String qname,
Attributes attributes)
Implements org.xml.sax.ContentHandler.startElement()
Receive notification of the beginning of an element.
|
void |
startEntity(String name)
Implements org.xml.sax.ext.LexicalHandler.startEntity()
|
void |
startPrefixMapping(String prefix,
String uri)
Implements org.xml.sax.ContentHandler.startPrefixMapping()
Begin the scope of a prefix-URI Namespace mapping.
|
void |
unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Implements org.xml.sax.DTDHandler.unparsedEntityDecl()
|
public TransformerHandlerImpl(TransformerImpl transformer)
public String getSystemId()
getSystemId in interface TransformerHandlerpublic void setSystemId(String id)
setSystemId in interface TransformerHandlerid - Base URI for this stylesheetpublic Transformer getTransformer()
getTransformer in interface TransformerHandlerpublic void setResult(Result result) throws IllegalArgumentException
setResult in interface TransformerHandlerresult - A Result instance, should not be nullIllegalArgumentException - if result is invalid for some reasonpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startElement(String uri, String localName, String qname, Attributes attributes) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qname) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionpublic void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionpublic void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException
unparsedEntityDecl in interface DTDHandlerSAXExceptionpublic void notationDecl(String name, String publicId, String systemId) throws SAXException
notationDecl in interface DTDHandlerSAXExceptionpublic void attributeDecl(String eName, String aName, String type, String valueDefault, String value) throws SAXException
attributeDecl in interface DeclHandlerSAXExceptionpublic void elementDecl(String name, String model) throws SAXException
elementDecl in interface DeclHandlerSAXExceptionpublic void externalEntityDecl(String name, String publicId, String systemId) throws SAXException
externalEntityDecl in interface DeclHandlerSAXExceptionpublic void internalEntityDecl(String name, String value) throws SAXException
internalEntityDecl in interface DeclHandlerSAXExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.