- java.lang.Object
-
- org.xmlobjects.stream.XMLWriterFactory
-
public class XMLWriterFactory extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLWritercreateWriter(java.io.File file)XMLWritercreateWriter(java.io.File file, java.lang.String encoding)XMLWritercreateWriter(java.io.OutputStream stream)XMLWritercreateWriter(java.io.OutputStream stream, java.lang.String encoding)XMLWritercreateWriter(java.io.Writer writer)XMLWritercreateWriter(java.nio.file.Path path)XMLWritercreateWriter(java.nio.file.Path path, java.lang.String encoding)XMLWritercreateWriter(javax.xml.transform.dom.DOMResult result)XMLWritercreateWriter(javax.xml.transform.stream.StreamResult result)XMLWritercreateWriter(javax.xml.transform.stream.StreamResult result, java.lang.String encoding)XMLWritercreateWriter(org.xml.sax.ContentHandler contentHandler)XMLWritercreateWriter(SAXWriter saxWriter)PropertiesgetProperties()static XMLWriterFactorynewInstance(XMLObjects xmlObjects)XMLWriterFactorywithProperty(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
newInstance
public static XMLWriterFactory newInstance(XMLObjects xmlObjects)
-
getProperties
public Properties getProperties()
-
withProperty
public XMLWriterFactory withProperty(java.lang.String name, java.lang.Object value)
-
createWriter
public XMLWriter createWriter(java.io.File file) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.io.File file, java.lang.String encoding) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.nio.file.Path path) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.nio.file.Path path, java.lang.String encoding) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(javax.xml.transform.stream.StreamResult result) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(javax.xml.transform.stream.StreamResult result, java.lang.String encoding) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(javax.xml.transform.dom.DOMResult result) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.io.OutputStream stream) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.io.OutputStream stream, java.lang.String encoding) throws XMLWriteException
- Throws:
XMLWriteException
-
createWriter
public XMLWriter createWriter(java.io.Writer writer)
-
createWriter
public XMLWriter createWriter(org.xml.sax.ContentHandler contentHandler)
-
-