|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPPCodecComponent
Represents an EPP CODEC Component interface that is implemented by any class
that needs to participate in the encoding and decoding of EPP XML
documents. All EPPCodecComponent
classes are
Serializable
. All subclasses of EPPMessage
and all contained classes of EPPMessage
classes must
implement the EPPCodecComponent
interface.
EPPMessage
Method Summary | |
---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree. |
Method Detail |
---|
org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPCommand
is
created and is used to append the attribute nodes of
EPPCommand
.
aDocument
- DOM document used as a factory of DOM objects.
EPPEncodeException
- Error encoding the DOM element tree.void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values. EPPCommand
is
passed into decode
of EPPCommand to be decoded and
used to set the instance attributes.
aElement
- root DOM element associated with instance
EPPDecodeException
- Error decoding the DOM element tree.java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.
EPPCodecComponent
java.lang.CloneNotSupportedException
- standard Object.clone exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |