|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ddtek.xmlconverter.XMLStreamWriterSource
public class XMLStreamWriterSource
The class XMLStreamWriterSource is used to specify that the user of Converter
wants
to provide the source data for the conversion by writing it to an XMLStreamWriter
.
Constructor Summary | |
---|---|
XMLStreamWriterSource()
Create an empty XMLStreamWriterSource. |
Method Summary | |
---|---|
String |
getSystemId()
Get the SystemId of the source data. |
javax.xml.stream.XMLStreamWriter |
getXMLStreamWriter()
Get the XMLStreamWriter which will be used to write the source data. |
void |
setSystemId(String systemId)
Set the SystemId of the source data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLStreamWriterSource()
Method Detail |
---|
public void setSystemId(String systemId)
setSystemId
in interface Source
public String getSystemId()
getSystemId
in interface Source
public javax.xml.stream.XMLStreamWriter getXMLStreamWriter()
XMLStreamWriter
which will be used to write the source data.
If the application wants to provide the Converter source data with an
XMLStreamWriter, it should create an empty XMLStreamWriterSource and pass it as
the source parameter of the
convert(Source, Result)
method.
After convert returns, the application must use getXMLStreamWriter()
to get the XMLStreamWriter. The application must then write all the data to the
XMLStreamWriter and close it. At that moment, the Converter completes
converting the data.
ConvertFromXML.getXMLStreamWriter(javax.xml.transform.Result)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |