|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlEncoder
An encoder that can generate an XML representation of an object.
| Method Summary | |
|---|---|
boolean |
canEncode(XmlEncodeContext context,
Object value)
Test if this codec can encode a given object. |
org.jdom.Element |
encode(XmlEncodeContext context,
Object value)
Generate an XML representation of an object. |
boolean |
shouldPreserveIdentity(XmlEncodeContext context,
Object value)
Return true if the identity of the given value should be preserved. |
| Method Detail |
|---|
boolean shouldPreserveIdentity(XmlEncodeContext context,
Object value)
boolean canEncode(XmlEncodeContext context,
Object value)
context - The current encode context.value - The value. May be null.
org.jdom.Element encode(XmlEncodeContext context,
Object value)
context - The encoding context.value - The value to be encoded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||