Class EPPRegistryContactPostalCode
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
com.verisign.epp.codec.registry.v02.EPPRegistryContactPostalCode
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The minimum and maximum length of the <contact:pc> element defined in
[RFC5733].
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPRegistryContactPostalCode.static final StringXML root tag forEPPRegistryContactPostalCode.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 newEPPRegistryContactCityobject.EPPRegistryContactPostalCode(int aMin, int aMax) Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asint's.EPPRegistryContactPostalCode(Integer aMin, Integer aMax) Creates a newEPPRegistryContactCityobject 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 forEPPRegistryContactPostalCode.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryContactPostalCode.- See Also:
-
-
Constructor Details
-
EPPRegistryContactPostalCode
public EPPRegistryContactPostalCode()Creates a newEPPRegistryContactCityobject. -
EPPRegistryContactPostalCode
Creates a newEPPRegistryContactCityobject that takes both the minimum and maximum values asInteger's.- Parameters:
aMin- Minimum valueaMax- Maximum value
-
EPPRegistryContactPostalCode
public EPPRegistryContactPostalCode(int aMin, int aMax) Creates a newEPPRegistryContactCityobject 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.
-