public class SAX2StAXStreamWriter extends SAX2StAXBaseWriter
CDATABuffer, docLocator, isCDATA, namespaces, reporter| Constructor and Description |
|---|
SAX2StAXStreamWriter() |
SAX2StAXStreamWriter(XMLStreamWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
XMLStreamWriter |
getStreamWriter() |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
setStreamWriter(XMLStreamWriter writer) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDTD, endEntity, endPrefixMapping, error, fatalError, getCurrentLocation, parseQName, reportException, setDocumentLocator, setXMLReporter, startCDATA, startDTD, startEntity, startPrefixMapping, warningnotationDecl, resolveEntity, skippedEntity, unparsedEntityDeclpublic SAX2StAXStreamWriter()
public SAX2StAXStreamWriter(XMLStreamWriter writer)
public XMLStreamWriter getStreamWriter()
public void setStreamWriter(XMLStreamWriter writer)
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class SAX2StAXBaseWriterSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class SAX2StAXBaseWriterSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class SAX2StAXBaseWriterSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class SAX2StAXBaseWriterSAXExceptionpublic void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlercomment in class SAX2StAXBaseWriterSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class SAX2StAXBaseWriterSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerendCDATA in class SAX2StAXBaseWriterSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class DefaultHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class DefaultHandlerSAXExceptionCopyright © 2018–2021 mhoffrogge. All rights reserved.