public interface EPPCodecComponent
extends java.io.Serializable, java.lang.Cloneable
EPPCodecComponent classes are
Serializable. All subclasses of EPPMessage
and all contained classes of EPPMessage classes must
implement the EPPCodecComponent interface.EPPMessage| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getNamespace()
Gets the EPP namespace associated with the
EPPCodecComponent. |
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 instanceEPPDecodeException - Error decoding the DOM element tree.java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent.EPPCodecComponentjava.lang.CloneNotSupportedException - standard Object.clone exceptionjava.lang.String getNamespace()
EPPCodecComponent.EPPCodecComponent.