public class EmbeddedSAXPipe extends AbstractSAXPipe
| Constructor and Description |
|---|
EmbeddedSAXPipe(ContentHandler handler)
Creates an EmbeddedXMLPipe that writes into the given ContentHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
comment(char[] ch,
int start,
int len)
Ignore all
comment events if between
startDTD/endDTD events. |
void |
endDocument()
Ignore the
endDocument event: this method does nothing. |
void |
endDTD()
Ignore the
endDTD event: this method does nothing. |
void |
startDocument()
Ignore the
startDocument event: this method does nothing. |
void |
startDTD(String name,
String publicId,
String systemId)
Ignore the
startDTD event: this method does nothing. |
characters, endCDATA, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startElement, startEntity, startPrefixMappingrecycle, setContentHandlerpublic EmbeddedSAXPipe(ContentHandler handler)
public void startDocument()
throws SAXException
startDocument event: this method does nothing.startDocument in interface ContentHandlerstartDocument in class AbstractSAXPipeSAXException - if an error occurspublic void endDocument()
throws SAXException
endDocument event: this method does nothing.endDocument in interface ContentHandlerendDocument in class AbstractSAXPipeSAXException - if an error occurspublic void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD event: this method does nothing.startDTD in interface LexicalHandlerstartDTD in class AbstractSAXPipename - The document type name.publicId - The declared public identifier for the external DTD
subset, or null if none was declared.systemId - The declared system identifier for the external DTD
subset, or null if none was declared.SAXException - if an error occurspublic void endDTD()
throws SAXException
endDTD event: this method does nothing.endDTD in interface LexicalHandlerendDTD in class AbstractSAXPipeSAXException - if an error occurspublic void comment(char[] ch,
int start,
int len)
throws SAXException
comment events if between
startDTD/endDTD events.comment in interface LexicalHandlercomment in class AbstractSAXPipech - An array holding the characters in the comment.start - The starting position in the array.len - The number of characters to use from the array.SAXException - if an error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved