Class EPPRegistryContactName
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
com.verisign.epp.codec.registry.v02.EPPRegistryContactName
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Represents the minimum and maximum length of <contact:name> element
defined RFC 5733 using the <registry:minLength> and
<registry:maxLength> child elements, respectively.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPRegistryContactName.static final StringXML root tag forEPPRegistryContactCity.Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
ELM_MAX, ELM_MAX_LENGTH, ELM_MIN, ELM_MIN_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newEPPRegistryContactNameobject.EPPRegistryContactName(int aMin, int aMax) Creates a newEPPRegistryContactNameobject that takes both the minimum and maximum values asint's.EPPRegistryContactName(Integer aMin, Integer aMax) Creates a newEPPRegistryContactNameobject that takes both the minimum and maximum values asInteger's. -
Method Summary
Methods inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
clone, decode, encode, equals, getMax, getMin, getNamespace, setMax, setMin, toString, validateState
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryContactName.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryContactCity.- See Also:
-
-
Constructor Details
-
EPPRegistryContactName
public EPPRegistryContactName()Creates a newEPPRegistryContactNameobject. -
EPPRegistryContactName
Creates a newEPPRegistryContactNameobject that takes both the minimum and maximum values asInteger's.- Parameters:
aMin- Minimum valueaMax- Maximum value
-
EPPRegistryContactName
public EPPRegistryContactName(int aMin, int aMax) Creates a newEPPRegistryContactNameobject that takes both the minimum and maximum values asint's.- Parameters:
aMin- Minimum valueaMax- Maximum value
-
-
Method Details
-
getRootName
Gets the root element local name.- Specified by:
getRootNamein classEPPRegistryAbstractMinMax- Returns:
- Root element local name.
-
getElmMin
Gets the minimum element local name.- Specified by:
getElmMinin classEPPRegistryAbstractMinMax- Returns:
- Minimum element local name.
-
getElmMax
Gets the maximum element local name.- Specified by:
getElmMaxin classEPPRegistryAbstractMinMax- Returns:
- Maximum element local name.
-
getLogger
protected org.slf4j.Logger getLogger()Gets theLoggerto use.- Specified by:
getLoggerin classEPPRegistryAbstractMinMax- Returns:
Loggerinstance to use for logging.
-