|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(XMLStreamReader reader)
Construct from a Reader |
|
Reader2Writer(XMLStreamReader reader,
boolean closeReader)
Construct from a Reader |
Method Summary | |
---|---|
String |
getAsString()
Utility method to write the reader contents to a String |
void |
outputTo(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(XMLStreamReader reader)
reader
- -- the input to the converterpublic Reader2Writer(XMLStreamReader reader, boolean closeReader)
reader
- -- the input to the convertercloseReader
- -- close the reader upon completionMethod Detail |
---|
public void outputTo(XMLStreamWriter writer) throws XMLStreamException
writer
- -- the output of the converter
XMLStreamException
public String getAsString() throws XMLStreamException
XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |