| java.lang.Object org.xml.sax.helpers.DefaultHandler javanet.staxutils.ContentHandlerToXMLStreamWriter
ContentHandlerToXMLStreamWriter | public class ContentHandlerToXMLStreamWriter extends DefaultHandler (Code) | | This is a simple utility class that adapts SAX events into StAX
javax.xml.stream.XMLStreamWriter events, bridging between
the two parser technologies.
This ContentHandler does not own the XMLStreamWriter. Therefore, it will
not close or flush the writer at any point.
author: Ryan.Shoemaker@Sun.COM version: 1.0 |
Method Summary | |
public void | characters(char[] ch, int start, int length) | public void | endDocument() | public void | endElement(String namespaceURI, String localName, String qName) | public void | endPrefixMapping(String prefix) | public void | ignorableWhitespace(char[] ch, int start, int length) | public void | processingInstruction(String target, String data) | public void | setDocumentLocator(Locator locator) | public void | skippedEntity(String name) | public void | startDocument() | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) | public void | startPrefixMapping(String prefix, String uri) |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | |
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code) | | |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|