public class PhoneExtractingContentHandler extends ContentHandlerDecorator
Constructor and Description |
---|
PhoneExtractingContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata)
Creates a decorator for the given SAX event handler and Metadata object.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
The characters method is called whenever a Parser wants to pass raw...
|
void |
endDocument()
This method is called whenever the Parser is done parsing the file.
|
endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString
public PhoneExtractingContentHandler(org.xml.sax.ContentHandler handler, Metadata metadata)
handler
- SAX event handler to be decoratedpublic void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class ContentHandlerDecorator
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class ContentHandlerDecorator
org.xml.sax.SAXException
Copyright © 2010 - 2020 Adobe. All Rights Reserved