public class MatchingContentHandler extends ContentHandlerDecorator
| Constructor and Description |
|---|
MatchingContentHandler(ContentHandler delegate,
Matcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String name) |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
skippedEntity(String name) |
void |
startElement(String uri,
String localName,
String name,
Attributes attributes) |
endDocument, endPrefixMapping, handleException, setContentHandler, setDocumentLocator, startDocument, startPrefixMapping, toStringerror, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warningpublic MatchingContentHandler(ContentHandler delegate, Matcher matcher)
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class ContentHandlerDecoratorSAXExceptionpublic void endElement(String uri, String localName, String name) throws SAXException
endElement in interface ContentHandlerendElement in class ContentHandlerDecoratorSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class ContentHandlerDecoratorSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class ContentHandlerDecoratorSAXExceptionpublic void processingInstruction(String target, String data)
processingInstruction in interface ContentHandlerprocessingInstruction in class ContentHandlerDecoratorpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerskippedEntity in class ContentHandlerDecoratorSAXExceptionCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.