Package org.apache.cxf.staxutils
Class StreamWriterContentHandler
- java.lang.Object
- 
- org.apache.cxf.staxutils.StreamWriterContentHandler
 
- 
- All Implemented Interfaces:
- ContentHandler,- LexicalHandler
 
 public class StreamWriterContentHandler extends Object implements ContentHandler, LexicalHandler 
- 
- 
Constructor SummaryConstructors Constructor Description StreamWriterContentHandler(XMLStreamWriter w)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)Method characters.voidcomment(char[] ch, int start, int length)voidendCDATA()voidendDocument()Method endDocument.voidendDTD()voidendElement(String namespaceURI, String localName, String qName)Method endElement.voidendEntity(String name)voidendPrefixMapping(String prefix)Method endPrefixMapping.voidignorableWhitespace(char[] ch, int start, int length)Method ignorableWhitespace.voidprocessingInstruction(String target, String data)Method processingInstruction.voidsetDocumentLocator(Locator locator)Method setDocumentLocator.voidskippedEntity(String name)Method skippedEntity.voidstartCDATA()voidstartDocument()Method startDocument.voidstartDTD(String name, String publicId, String systemId)voidstartElement(String namespaceURI, String localName, String qName, Attributes atts)Method startElement.voidstartEntity(String name)voidstartPrefixMapping(String prefix, String uri)Method startPrefixMapping.
 
- 
- 
- 
Constructor Detail- 
StreamWriterContentHandlerpublic StreamWriterContentHandler(XMLStreamWriter w) 
 
- 
 - 
Method Detail- 
endDocumentpublic void endDocument() throws SAXExceptionMethod endDocument.- Specified by:
- endDocumentin interface- ContentHandler
- Throws:
- SAXException
 
 - 
startDocumentpublic void startDocument() throws SAXExceptionMethod startDocument.- Specified by:
- startDocumentin interface- ContentHandler
- Throws:
- SAXException
 
 - 
characterspublic void characters(char[] ch, int start, int length) throws SAXExceptionMethod characters.- Specified by:
- charactersin interface- ContentHandler
- Parameters:
- ch-
- start-
- length-
- Throws:
- SAXException
 
 - 
ignorableWhitespacepublic void ignorableWhitespace(char[] ch, int start, int length) throws SAXExceptionMethod ignorableWhitespace.- Specified by:
- ignorableWhitespacein interface- ContentHandler
- Parameters:
- ch-
- start-
- length-
- Throws:
- SAXException
 
 - 
endPrefixMappingpublic void endPrefixMapping(String prefix) throws SAXException Method endPrefixMapping.- Specified by:
- endPrefixMappingin interface- ContentHandler
- Parameters:
- prefix-
- Throws:
- SAXException
 
 - 
skippedEntitypublic void skippedEntity(String name) throws SAXException Method skippedEntity.- Specified by:
- skippedEntityin interface- ContentHandler
- Parameters:
- name-
- Throws:
- SAXException
 
 - 
setDocumentLocatorpublic void setDocumentLocator(Locator locator) Method setDocumentLocator.- Specified by:
- setDocumentLocatorin interface- ContentHandler
- Parameters:
- locator-
 
 - 
processingInstructionpublic void processingInstruction(String target, String data) throws SAXException Method processingInstruction.- Specified by:
- processingInstructionin interface- ContentHandler
- Parameters:
- target-
- data-
- Throws:
- SAXException
 
 - 
startPrefixMappingpublic void startPrefixMapping(String prefix, String uri) throws SAXException Method startPrefixMapping.- Specified by:
- startPrefixMappingin interface- ContentHandler
- Parameters:
- prefix-
- uri-
- Throws:
- SAXException
 
 - 
endElementpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException Method endElement.- Specified by:
- endElementin interface- ContentHandler
- Parameters:
- namespaceURI-
- localName-
- qName-
- Throws:
- SAXException
 
 - 
startElementpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException Method startElement.- Specified by:
- startElementin interface- ContentHandler
- Parameters:
- namespaceURI-
- localName-
- qName-
- atts-
- Throws:
- SAXException
 
 - 
startDTDpublic void startDTD(String name, String publicId, String systemId) throws SAXException - Specified by:
- startDTDin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
endDTDpublic void endDTD() throws SAXException- Specified by:
- endDTDin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
startEntitypublic void startEntity(String name) throws SAXException - Specified by:
- startEntityin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
endEntitypublic void endEntity(String name) throws SAXException - Specified by:
- endEntityin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
startCDATApublic void startCDATA() throws SAXException- Specified by:
- startCDATAin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
endCDATApublic void endCDATA() throws SAXException- Specified by:
- endCDATAin interface- LexicalHandler
- Throws:
- SAXException
 
 - 
commentpublic void comment(char[] ch, int start, int length) throws SAXException- Specified by:
- commentin interface- LexicalHandler
- Throws:
- SAXException
 
 
- 
 
-