public class EmbeddedSAXPipe extends AbstractSAXPipe
| Constructor and Description |
|---|
EmbeddedSAXPipe(org.xml.sax.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(java.lang.String name,
java.lang.String publicId,
java.lang.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(org.xml.sax.ContentHandler handler)
public void startDocument()
throws org.xml.sax.SAXException
startDocument event: this method does nothing.startDocument in interface org.xml.sax.ContentHandlerstartDocument in class AbstractSAXPipeorg.xml.sax.SAXException - if an error occurspublic void endDocument()
throws org.xml.sax.SAXException
endDocument event: this method does nothing.endDocument in interface org.xml.sax.ContentHandlerendDocument in class AbstractSAXPipeorg.xml.sax.SAXException - if an error occurspublic void startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
startDTD event: this method does nothing.startDTD in interface org.xml.sax.ext.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.org.xml.sax.SAXException - if an error occurspublic void endDTD()
throws org.xml.sax.SAXException
endDTD event: this method does nothing.endDTD in interface org.xml.sax.ext.LexicalHandlerendDTD in class AbstractSAXPipeorg.xml.sax.SAXException - if an error occurspublic void comment(char[] ch,
int start,
int len)
throws org.xml.sax.SAXException
comment events if between
startDTD/endDTD events.comment in interface org.xml.sax.ext.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.org.xml.sax.SAXException - if an error occursCopyright © 2010 - 2023 Adobe. All Rights Reserved