- java.lang.Object
-
- io.github.mmm.marshall.stax.StaxMarshalling
-
public final class StaxMarshalling extends Object
ProvidesStructuredFormatfor XML based on StAX (Streaming API for XML).- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructuredFormatof()static StructuredFormatof(MarshallingConfig config)static StructuredFormatof(XMLInputFactory readerFactory, XMLOutputFactory writerFactory)
-
-
-
Method Detail
-
of
public static StructuredFormat of()
- Returns:
- the default instance of
StructuredFormatfor "JSON-style" XML based on StAX.
-
of
public static StructuredFormat of(XMLInputFactory readerFactory, XMLOutputFactory writerFactory)
- Parameters:
readerFactory- theXMLInputFactory.writerFactory- theXMLOutputFactory.- Returns:
- a new instance of
StructuredFormatfor "JSON-style" XML based on StAX.
-
of
public static StructuredFormat of(MarshallingConfig config)
- Parameters:
config- theMarshallingConfig.- Returns:
- a new instance of
StructuredFormatfor "JSON-style" XML based on StAX.
-
-