- java.lang.Object
-
- io.github.mmm.marshall.stax.StaxMarshalling
-
public final class StaxMarshalling extends Object
ProvidesStructuredFormat
for 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 StructuredFormat
of()
static StructuredFormat
of(MarshallingConfig config)
static StructuredFormat
of(XMLInputFactory readerFactory, XMLOutputFactory writerFactory)
-
-
-
Method Detail
-
of
public static StructuredFormat of()
- Returns:
- the default instance of
StructuredFormat
for "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
StructuredFormat
for "JSON-style" XML based on StAX.
-
of
public static StructuredFormat of(MarshallingConfig config)
- Parameters:
config
- theMarshallingConfig
.- Returns:
- a new instance of
StructuredFormat
for "JSON-style" XML based on StAX.
-
-