public class XMLFileEntityWriter extends java.lang.Object implements EntityWriter
| Constructor and Description |
|---|
XMLFileEntityWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createEndNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter) |
static void |
createNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter,
java.lang.String name,
java.lang.String value,
boolean isCdata) |
static void |
createStartNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter,
java.lang.String name) |
java.io.File |
getOutputFile() |
void |
setOutputFile(java.io.File outputFile) |
void |
write(java.util.List<Entity> entities,
ModelType model) |
public void write(java.util.List<Entity> entities, ModelType model)
write in interface EntityWriterpublic static void createNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter,
java.lang.String name,
java.lang.String value,
boolean isCdata)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic static void createStartNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter,
java.lang.String name)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic static void createEndNode(com.sun.xml.txw2.output.IndentingXMLStreamWriter eventWriter)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.io.File getOutputFile()
public void setOutputFile(java.io.File outputFile)