Interface StaxWriterBuilder
- All Known Implementing Classes:
StaxWriterBuilderImpl
public interface StaxWriterBuilder
-
Method Summary
Modifier and TypeMethodDescription<E extends Enum<E> & org.staxnav.EnumElement<E>>
StaxWriter<E> <N> StaxWriter<N> build(org.staxnav.Naming<N> naming) withEncoding(String encoding) withFormatting(XmlStreamingFormatter formatter) withOutputStream(OutputStream outputStream) withOutputStream(OutputStream outputStream, String encoding) withProperty(String name, Object value) withPropertyIfSupported(String name, Object value) withResult(Result result) withVersion(String version) withWriter(Writer writer) withXmlStreamWriter(XMLStreamWriter writer)
-
Method Details
-
withProperty
-
withPropertyIfSupported
-
withEncoding
-
withVersion
-
withFormatting
-
withOutputStream
-
withOutputStream
-
withWriter
-
withResult
-
withXmlStreamWriter
-
build
<E extends Enum<E> & org.staxnav.EnumElement<E>> StaxWriter<E> build(Class<E> enumeratedType) throws org.staxnav.StaxNavException, IllegalStateException - Throws:
org.staxnav.StaxNavExceptionIllegalStateException
-