public abstract class SaxExceptionCatcher extends ContentProxy
ErrorHandler
.out
Modifier | Constructor and Description |
---|---|
protected |
SaxExceptionCatcher(ContentHandler out) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int end) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
void |
ignorableWhitespace(char[] ch,
int start,
int end) |
static Location<XMLDocumentIdentifier> |
location(SAXException ex) |
static Location<XMLDocumentIdentifier> |
location(SAXParseException ex) |
static Location<XMLDocumentIdentifier> |
location(SourceLocator ex) |
void |
processingInstruction(String target,
String data) |
protected abstract void |
send(Exception ex) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
void |
startPrefixMapping(String prefix,
String uri) |
protected SaxExceptionCatcher(ContentHandler out)
protected abstract void send(Exception ex)
public static Location<XMLDocumentIdentifier> location(SAXParseException ex)
public static Location<XMLDocumentIdentifier> location(SAXException ex)
public static Location<XMLDocumentIdentifier> location(SourceLocator ex)
public void characters(char[] ch, int start, int end)
characters
in interface ContentHandler
characters
in class ContentProxy
public void endDocument()
endDocument
in interface ContentHandler
endDocument
in class ContentProxy
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class ContentProxy
public void endPrefixMapping(String prefix)
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class ContentProxy
public void ignorableWhitespace(char[] ch, int start, int end)
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class ContentProxy
public void processingInstruction(String target, String data)
processingInstruction
in interface ContentHandler
processingInstruction
in class ContentProxy
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class ContentProxy
public void skippedEntity(String name)
skippedEntity
in interface ContentHandler
skippedEntity
in class ContentProxy
public void startDocument()
startDocument
in interface ContentHandler
startDocument
in class ContentProxy
public void startElement(String uri, String localName, String qName, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class ContentProxy
public void startPrefixMapping(String prefix, String uri)
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class ContentProxy
see also the complete user documentation .