public class SAX2StAXEventWriter extends SAX2StAXBaseWriter
CDATABuffer, docLocator, isCDATA, namespaces, reporter| Constructor and Description |
|---|
SAX2StAXEventWriter() |
SAX2StAXEventWriter(XMLEventWriter writer) |
SAX2StAXEventWriter(XMLEventWriter writer,
XMLEventFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
comment(char[] ch,
int start,
int length) |
protected Namespace |
createNamespace(String prefix,
String uri) |
protected void |
createStartEvents(Attributes attributes,
Collection[] events) |
void |
endCDATA() |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
XMLEventFactory |
getEventFactory() |
XMLEventWriter |
getEventWriter() |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
setEventFactory(XMLEventFactory factory) |
void |
setEventWriter(XMLEventWriter 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 SAX2StAXEventWriter()
public SAX2StAXEventWriter(XMLEventWriter writer)
public SAX2StAXEventWriter(XMLEventWriter writer, XMLEventFactory factory)
public XMLEventWriter getEventWriter()
public void setEventWriter(XMLEventWriter writer)
public XMLEventFactory getEventFactory()
public void setEventFactory(XMLEventFactory factory)
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 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 DefaultHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerendCDATA in class SAX2StAXBaseWriterSAXExceptionprotected void createStartEvents(Attributes attributes, Collection[] events)
Copyright © 2018–2021 mhoffrogge. All rights reserved.