public abstract class CharMarshall extends Marshall
Marshall
for character-based serializers and parsers.
Modifier | Constructor and Description |
---|---|
protected |
CharMarshall(WriterSerializer s,
ReaderParser p)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
write(Object o)
Serializes a POJO directly to a
|
protected CharMarshall(WriterSerializer s, ReaderParser p)
s
- The serializer to use for serializing output.
p
- The parser to use for parsing input.
public final String write(Object o) throws SerializeException
write
in class Marshall
o
- The object to serialize.SerializeException
- If a problem occurred trying to convert the output.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.