public abstract class WriterHandler extends DefaultHandler
WriterHandler.| Constructor and Description |
|---|
WriterHandler(Writer writer)
Instantiates a new
WriterHandler object with the given Writer |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int offset,
int len) |
void |
endDocument() |
void |
endElement(String namespaceURI,
String simpleName,
String qualifiedName) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String simpleName,
String qualifiedName,
Attributes attributes) |
protected abstract void |
write(String string)
Write the given
String object |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic WriterHandler(@NonNull
Writer writer)
WriterHandler object with the given Writerwriter - the writerpublic void characters(char[] buf,
int offset,
int len)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String simpleName, String qualifiedName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXExceptionpublic void startElement(String namespaceURI, String simpleName, String qualifiedName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionprotected abstract void write(String string) throws SAXException
String objectstring - the stringSAXException - any SAX exception, possibly wrapping another exceptionCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.