|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ddtek.xmlconverter.XMLStreamReaderResult
public class XMLStreamReaderResult
The XMLStreamReaderResult is used to specify that the user of Converter
wants
to read the result of the conversion with an XMLStreamReader
.
Field Summary |
---|
Fields inherited from interface javax.xml.transform.Result |
---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
---|---|
XMLStreamReaderResult()
Create an empty XMLStreamReaderResult. |
Method Summary | |
---|---|
String |
getSystemId()
Get the SystemId of the result data. |
javax.xml.stream.XMLStreamReader |
getXMLStreamReader()
Get the XMLStreamReader which is used to read the result data. |
void |
setSystemId(String systemId)
Set the SystemId of the result data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLStreamReaderResult()
Method Detail |
---|
public void setSystemId(String systemId)
setSystemId
in interface Result
public String getSystemId()
getSystemId
in interface Result
public javax.xml.stream.XMLStreamReader getXMLStreamReader()
XMLStreamReader
which is used to read the result data.
If the application wants to read the Converter result data with an
XMLStreamReader, it should create an empty XMLStreamReaderResult and pass it as
the result parameter of the
convert(Source, Result)
method.
After convert returns, the application must use getXMLStreamReader()
to get the Reader containing the result data.
ConvertToXML.getXMLStreamReader(Source)
,
ConverterResolver.getXMLStreamReader(String, String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |