|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.exorcist.xml.XmlExporter
public class XmlExporter
Content exporter that exports the content XML document from a given input stream.
Constructor Summary | |
---|---|
XmlExporter()
|
Method Summary | |
---|---|
void |
exportContent(ContentState state)
Copies the XML document from the configured content stream into the given content state. |
void |
setContent(java.io.InputStream content)
Sets the XML document stream to be exported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlExporter()
Method Detail |
---|
public void setContent(java.io.InputStream content)
content
- XML document streampublic void exportContent(ContentState state) throws ContentException
Note that at the moment this method does not parse or validate the XML document stream.
exportContent
in interface ContentExporter
state
- the content state
ContentException
- if the content stream can not be readContentExporter.exportContent(ContentState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |