|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextEncoder
An object that can encode another object into text form.
Method Summary | |
---|---|
boolean |
canEncode(XmlEncodeContext context,
Object value)
Test if this codec can encode a given object. |
String |
encode(Object value)
Encode a value into text. |
Method Detail |
---|
boolean canEncode(XmlEncodeContext context, Object value)
context
- The current encode context.value
- The value. May be null.
String encode(Object value) throws IllegalArgumentException
value
- The value to encode.
IllegalArgumentException
- if the value cannot be encoded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |