|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnDeCoder<E extends EncodingObject>
Method Summary | |
---|---|
E |
decode(javax.xml.stream.XMLStreamReader reader)
Decodes an XML stream to an object. |
void |
encode(E encodingObject,
javax.xml.stream.XMLStreamWriter writer)
Encodes an object to the specified stream writer. |
javax.xml.namespace.QName |
getEncodingObjectQName()
Gets the qualified name of the XML fragment for the Encoding object. |
java.lang.Class<E> |
getEncodingObjectType()
Returns the type of the encoding object. |
Method Detail |
---|
void encode(E encodingObject, javax.xml.stream.XMLStreamWriter writer) throws EncodingException
encodingObject
- Object to be serialized.writer
- Stream writer to which the infoset is serialized.
EncodingException
- In case of any encoding error.E decode(javax.xml.stream.XMLStreamReader reader) throws EncodingException
reader
- XML stream from where the encoded XML is read.
EncodingException
- In case of any encoding error.javax.xml.namespace.QName getEncodingObjectQName()
java.lang.Class<E> getEncodingObjectType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |