|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Common interface for all classes that can serialize an object
It is advised that implementors use abstract
implementation classes like AbstractSerializer
instead as base classes.
| Method Summary | |
boolean |
canHandle(GraphMLWriteContext context,
Object subject)
Return whether this serializer can handle the given object |
void |
serialize(GraphMLWriteContext context,
Object subject,
XmlWriter writer)
Serialize the given object to a XmlWriter. |
| Method Detail |
public void serialize(GraphMLWriteContext context,
Object subject,
XmlWriter writer)
XmlWriter.
context - The current write contextsubject - The object to be serializedwriter - The writer instance for writing the xml data.
public boolean canHandle(GraphMLWriteContext context,
Object subject)
context - The current wirte contextsubject - The object to be serialized
true if the serializer can serilaize the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||