public class StreamWriterContentHandler extends Object implements ContentHandler, LexicalHandler
Constructor and Description |
---|
StreamWriterContentHandler(XMLStreamWriter w) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Method characters.
|
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDocument()
Method endDocument.
|
void |
endDTD() |
void |
endElement(String namespaceURI,
String localName,
String qName)
Method endElement.
|
void |
endEntity(String name) |
void |
endPrefixMapping(String prefix)
Method endPrefixMapping.
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Method ignorableWhitespace.
|
void |
processingInstruction(String target,
String data)
Method processingInstruction.
|
void |
setDocumentLocator(Locator locator)
Method setDocumentLocator.
|
void |
skippedEntity(String name)
Method skippedEntity.
|
void |
startCDATA() |
void |
startDocument()
Method startDocument.
|
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Method startElement.
|
void |
startEntity(String name) |
void |
startPrefixMapping(String prefix,
String uri)
Method startPrefixMapping.
|
public StreamWriterContentHandler(XMLStreamWriter w)
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
ch
- start
- length
- SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
ch
- start
- length
- SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
prefix
- SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
name
- SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
locator
- public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
target
- data
- SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
prefix
- uri
- SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
namespaceURI
- localName
- qName
- SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
namespaceURI
- localName
- qName
- atts
- SAXException
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void comment(char[] ch, int start, int length) throws SAXException
comment
in interface LexicalHandler
SAXException
Apache CXF