Package com.sun.xml.ws.util.xml
Class XMLStreamReaderToXMLStreamWriter
java.lang.Object
com.sun.xml.ws.util.xml.XMLStreamReaderToXMLStreamWriter
Deprecated.
use org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
Reads a sub-tree from
XMLStreamReader and writes to XMLStreamWriter
as-is.
This class can be sub-classed to implement a simple transformation logic.
- Author:
- Kohsuke Kawaguchi, Ryan Shoemaker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XMLStreamReaderDeprecated.protected XMLStreamWriterDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbridge(XMLStreamReader in, XMLStreamWriter out) Deprecated.Reads one subtree and writes it out.protected voidhandleAttribute(int i) Deprecated.Writes out thei-th attribute of the current element.protected voidDeprecated.protected voidDeprecated.protected voidDeprecated.protected voidDeprecated.protected voidDeprecated.protected voidDeprecated.protected voidhandlePI()Deprecated.protected voidDeprecated.protected voidDeprecated.
-
Field Details
-
in
Deprecated. -
out
Deprecated.
-
-
Constructor Details
-
XMLStreamReaderToXMLStreamWriter
public XMLStreamReaderToXMLStreamWriter()Deprecated.
-
-
Method Details
-
bridge
Deprecated.Reads one subtree and writes it out.The
XMLStreamWriternever receives a start/end document event. Those need to be written separately by the caller.- Throws:
XMLStreamException
-
handlePI
Deprecated.- Throws:
XMLStreamException
-
handleCharacters
Deprecated.- Throws:
XMLStreamException
-
handleEndElement
Deprecated.- Throws:
XMLStreamException
-
handleStartElement
Deprecated.- Throws:
XMLStreamException
-
handleAttribute
Deprecated.Writes out thei-th attribute of the current element.Used from
handleStartElement().- Throws:
XMLStreamException
-
handleDTD
Deprecated.- Throws:
XMLStreamException
-
handleComment
Deprecated.- Throws:
XMLStreamException
-
handleEntityReference
Deprecated.- Throws:
XMLStreamException
-
handleSpace
Deprecated.- Throws:
XMLStreamException
-
handleCDATA
Deprecated.- Throws:
XMLStreamException
-