public class TeeContentHandler extends Object implements ContentHandler, ErrorHandler
Constructor and Description |
---|
TeeContentHandler() |
TeeContentHandler(ContentHandler h1) |
TeeContentHandler(ContentHandler h1,
ContentHandler h2) |
Modifier and Type | Method and Description |
---|---|
void |
addContentHandler(ContentHandler h) |
void |
addErrorHandler(ErrorHandler h) |
void |
addHandler(Object o) |
void |
characters(char[] c,
int a,
int b) |
void |
endDocument() |
void |
endElement(String a,
String b,
String c) |
void |
endPrefixMapping(String p) |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
List<ContentHandler> |
getContentHandlers() |
List<ErrorHandler> |
getErrorHandlers() |
void |
ignorableWhitespace(char[] c,
int a,
int b) |
void |
processingInstruction(String a,
String b) |
void |
setDocumentLocator(Locator l) |
void |
skippedEntity(String a) |
void |
startDocument() |
void |
startElement(String a,
String b,
String c,
Attributes d) |
void |
startPrefixMapping(String p,
String u) |
void |
warning(SAXParseException e) |
public TeeContentHandler()
public TeeContentHandler(ContentHandler h1)
public TeeContentHandler(ContentHandler h1, ContentHandler h2)
public void addContentHandler(ContentHandler h)
public List<ContentHandler> getContentHandlers()
public List<ErrorHandler> getErrorHandlers()
public void addErrorHandler(ErrorHandler h)
public void addHandler(Object o)
public void characters(char[] c, int a, int b) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] c, int a, int b) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void startPrefixMapping(String p, String u) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String p) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startElement(String a, String b, String c, Attributes d) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String a, String b, String c) throws SAXException
endElement
in interface ContentHandler
SAXException
public void processingInstruction(String a, String b) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String a) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void setDocumentLocator(Locator l)
setDocumentLocator
in interface ContentHandler
public void warning(SAXParseException e) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
SAXException
see also the complete user documentation .