|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.util.Reader2Writer
public class Reader2Writer
Reader2Writer This is a simple converter that is constructed with an XMLStreamReader and allows you to write the contents to an XMLStreamWriter.
Constructor Summary | |
---|---|
Reader2Writer(javax.xml.stream.XMLStreamReader reader)
Construct from a Reader |
Method Summary | |
---|---|
java.lang.String |
getAsString()
Utility method to write the reader contents to a String |
void |
outputTo(javax.xml.stream.XMLStreamWriter writer)
outputTo the writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reader2Writer(javax.xml.stream.XMLStreamReader reader)
reader
- -- the input to the converterMethod Detail |
---|
public void outputTo(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
writer
- -- the output of the converter
javax.xml.stream.XMLStreamException
public java.lang.String getAsString() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |