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