|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryFields
public class EPPRegistryFields
Class that defines the management of related fields.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_TYPE
Required attribute type name that should have a value of either TYPE_SHARED or TYPE_SYNC. |
static java.lang.String |
ELM_LOCALNAME
Constant for the phase local name |
static java.lang.String |
ELM_NAME
Constant for the qualified name (prefix and local name) |
static java.lang.String |
TYPE_SHARED
Constant for the related zone fields being shared, where there is one set of related fields. |
static java.lang.String |
TYPE_SYNC
Constant for the related zone fields required to be synchronized by registry policy. |
| Constructor Summary | |
|---|---|
EPPRegistryFields()
Default constructor. |
|
EPPRegistryFields(java.lang.String aType,
java.util.List<java.lang.String> aFields)
Create EPPRegistryFields instance with required attributes. |
|
| Method Summary | |
|---|---|
void |
addField(java.lang.String aField)
Adds a field to the list of fields. |
java.lang.Object |
clone()
Clone EPPRegistryFields. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryFields element aElement DOM Element
tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPRegistryFields instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryFields compare. |
java.util.List<java.lang.String> |
getFields()
Gets the related field names. |
java.lang.String |
getType()
Gets the related fields type, which should be either TYPE_SHARED
or TYPE_SYNC. |
void |
setFields(java.util.List<java.lang.String> aFields)
Sets the related field names. |
void |
setType(java.lang.String aType)
Sets the related fields type, which should be either TYPE_SHARED
or TYPE_SYNC. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_SHARED
public static final java.lang.String TYPE_SYNC
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public static final java.lang.String ATTR_TYPE
TYPE_SHARED or TYPE_SYNC.
| Constructor Detail |
|---|
public EPPRegistryFields()
#setPhase(String) method and the fields MUST be set using #setFields(List) or addField(String).
public EPPRegistryFields(java.lang.String aType,
java.util.List<java.lang.String> aFields)
EPPRegistryFields instance with required attributes.
aType - Type of related fields with either TYPE_SHARED or
TYPE_SYNC.aFields - List of related fields.| Method Detail |
|---|
public java.lang.String getType()
TYPE_SHARED
or TYPE_SYNC.
TYPE_SHARED or TYPE_SYNC if defined;
null otherwise.public void setType(java.lang.String aType)
TYPE_SHARED
or TYPE_SYNC.
aType - the type, which should be either TYPE_SHARED or
TYPE_SYNCpublic java.util.List<java.lang.String> getFields()
public void setFields(java.util.List<java.lang.String> aFields)
aFields - The list of related field names.public void addField(java.lang.String aField)
aField - Field to add to the list of fields.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryFields.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryFields
java.lang.CloneNotSupportedException - standard Object.clone exception
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryFields element aElement DOM Element
tree.
decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPRegistryFields
from.
EPPDecodeException - Unable to decode aElement
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryFields instance.
encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPRegistryFields instance.
EPPEncodeException - - Unable to encode EPPRegistryFields
instance.public boolean equals(java.lang.Object aObject)
EPPRegistryFields compare.
equals in class java.lang.ObjectaObject - EPPRegistryFields instance to compare with
true if equal; false otherwisepublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||