|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is responsible for serializing an object to a TokenWriter.
| Field Summary | |
static java.lang.String |
MECHANISM_TYPE
JAX-RPC mechanism type. |
| Method Summary | |
void |
grabReferences(java.lang.Object data,
SerializationContext context,
SerializationChain next)
Traverses the graph of java objects (pointed by data) and
stores objects that will be serialized into context via
SerializationContext.registerReference(...) |
void |
init(Configurable configurable)
Initializes the serializer. |
void |
serialize(TokenWriter dataWriter,
java.lang.Object data,
SerializationContext context,
SerializationChain next)
Serializes the object to the TokenWriter. |
| Methods inherited from interface javax.xml.rpc.encoding.Serializer |
getMechanismType |
| Field Detail |
public static final java.lang.String MECHANISM_TYPE
| Method Detail |
public void serialize(TokenWriter dataWriter,
java.lang.Object data,
SerializationContext context,
SerializationChain next)
throws MessageCreatingException
TokenWriter.
dataWriter - a writer to which the object is serializeddata - a data being serializedcontext - a schema context, drives the serialization processnext - a serialization chain, holds other possible serializers
MessageCreatingException - if something goes wrong
public void grabReferences(java.lang.Object data,
SerializationContext context,
SerializationChain next)
throws MessageCreatingException
data) and
stores objects that will be serialized into context via
SerializationContext.registerReference(...)
data - the data being serializedcontext - drives the serialization process.next - a serialization chain, holds other possible serializers
MessageCreatingException - if something goes wrongpublic void init(Configurable configurable)
Called anytime before the serializer is used.
configurable - the configurable of the serializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||