Package org.apache.cxf.staxutils
Class StreamWriterContentHandler
java.lang.Object
org.apache.cxf.staxutils.StreamWriterContentHandler
- All Implemented Interfaces:
ContentHandler
,LexicalHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) Method characters.void
comment
(char[] ch, int start, int length) void
endCDATA()
void
Method endDocument.void
endDTD()
void
endElement
(String namespaceURI, String localName, String qName) Method endElement.void
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
void
Method startDocument.void
void
startElement
(String namespaceURI, String localName, String qName, Attributes atts) Method startElement.void
startEntity
(String name) void
startPrefixMapping
(String prefix, String uri) Method startPrefixMapping.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
StreamWriterContentHandler
-
-
Method Details
-
endDocument
Method endDocument.- Specified by:
endDocument
in interfaceContentHandler
- Throws:
SAXException
-
startDocument
Method startDocument.- Specified by:
startDocument
in interfaceContentHandler
- Throws:
SAXException
-
characters
Method characters.- Specified by:
characters
in interfaceContentHandler
- Parameters:
ch
-start
-length
-- Throws:
SAXException
-
ignorableWhitespace
Method ignorableWhitespace.- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Parameters:
ch
-start
-length
-- Throws:
SAXException
-
endPrefixMapping
Method endPrefixMapping.- Specified by:
endPrefixMapping
in interfaceContentHandler
- Parameters:
prefix
-- Throws:
SAXException
-
skippedEntity
Method skippedEntity.- Specified by:
skippedEntity
in interfaceContentHandler
- Parameters:
name
-- Throws:
SAXException
-
setDocumentLocator
Method setDocumentLocator.- Specified by:
setDocumentLocator
in interfaceContentHandler
- Parameters:
locator
-
-
processingInstruction
Method processingInstruction.- Specified by:
processingInstruction
in interfaceContentHandler
- Parameters:
target
-data
-- Throws:
SAXException
-
startPrefixMapping
Method startPrefixMapping.- Specified by:
startPrefixMapping
in interfaceContentHandler
- Parameters:
prefix
-uri
-- Throws:
SAXException
-
endElement
Method endElement.- Specified by:
endElement
in interfaceContentHandler
- Parameters:
namespaceURI
-localName
-qName
-- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException Method startElement.- Specified by:
startElement
in interfaceContentHandler
- Parameters:
namespaceURI
-localName
-qName
-atts
-- Throws:
SAXException
-
startDTD
- Specified by:
startDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
endDTD
- Specified by:
endDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
startEntity
- Specified by:
startEntity
in interfaceLexicalHandler
- Throws:
SAXException
-
endEntity
- Specified by:
endEntity
in interfaceLexicalHandler
- Throws:
SAXException
-
startCDATA
- Specified by:
startCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
endCDATA
- Specified by:
endCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
comment
- Specified by:
comment
in interfaceLexicalHandler
- Throws:
SAXException
-