public class StaxValueSerializer extends ValueSerializerAdapter<XMLStreamWriter>
ValueSerializerAdapter.ComplexSerializer<T,OutputType>
ValueSerializer.Options
Constructor and Description |
---|
StaxValueSerializer() |
Modifier and Type | Method and Description |
---|---|
protected XMLStreamWriter |
adaptOutput(OutputStream output) |
protected void |
onArrayEnd(XMLStreamWriter output) |
protected void |
onArrayStart(XMLStreamWriter output) |
protected void |
onFieldEnd(XMLStreamWriter output) |
protected void |
onFieldStart(XMLStreamWriter output,
String key) |
protected void |
onObjectEnd(XMLStreamWriter output) |
protected void |
onObjectStart(XMLStreamWriter output) |
protected void |
onSerializationEnd(Object object,
XMLStreamWriter output) |
protected void |
onValue(XMLStreamWriter output,
Object value) |
protected void |
onValueEnd(XMLStreamWriter output) |
protected void |
onValueStart(XMLStreamWriter output) |
onSerializationStart, registerComplexSerializer, registerSerializer, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize
protected XMLStreamWriter adaptOutput(OutputStream output) throws Exception
adaptOutput
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onSerializationEnd(Object object, XMLStreamWriter output) throws Exception
onSerializationEnd
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onArrayStart(XMLStreamWriter output) throws Exception
onArrayStart
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onArrayEnd(XMLStreamWriter output) throws Exception
onArrayEnd
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onObjectStart(XMLStreamWriter output) throws Exception
onObjectStart
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onObjectEnd(XMLStreamWriter output) throws Exception
onObjectEnd
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onFieldStart(XMLStreamWriter output, String key) throws Exception
onFieldStart
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onFieldEnd(XMLStreamWriter output) throws Exception
onFieldEnd
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onValueStart(XMLStreamWriter output) throws Exception
onValueStart
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onValue(XMLStreamWriter output, Object value) throws Exception
onValue
in class ValueSerializerAdapter<XMLStreamWriter>
Exception
protected void onValueEnd(XMLStreamWriter output) throws Exception
onValueEnd
in class ValueSerializerAdapter<XMLStreamWriter>
Exception