Class EPPRegistryContactPostalCode
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
-
- com.verisign.epp.codec.registry.v02.EPPRegistryContactPostalCode
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPRegistryContactPostalCode extends EPPRegistryAbstractMinMax
The minimum and maximum length of the <contact:pc> element defined in [RFC5733].- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPRegistryContactPostalCode
.static java.lang.String
ELM_NAME
XML 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
Constructors Constructor Description EPPRegistryContactPostalCode()
Creates a newEPPRegistryContactCity
object.EPPRegistryContactPostalCode(int aMin, int aMax)
Creates a newEPPRegistryContactCity
object that takes both the minimum and maximum values asint
's.EPPRegistryContactPostalCode(java.lang.Integer aMin, java.lang.Integer aMax)
Creates a newEPPRegistryContactCity
object that takes both the minimum and maximum values asInteger
's.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getElmMax()
Gets the maximum element local name.protected java.lang.String
getElmMin()
Gets the minimum element local name.protected org.slf4j.Logger
getLogger()
Gets theLogger
to use.protected java.lang.String
getRootName()
Gets the root element local name.-
Methods inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryAbstractMinMax
clone, decode, encode, equals, getMax, getMin, getNamespace, setMax, setMin, toString, validateState
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryContactPostalCode
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPRegistryContactPostalCode
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryContactPostalCode
public EPPRegistryContactPostalCode()
Creates a newEPPRegistryContactCity
object.
-
EPPRegistryContactPostalCode
public EPPRegistryContactPostalCode(java.lang.Integer aMin, java.lang.Integer aMax)
Creates a newEPPRegistryContactCity
object 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 newEPPRegistryContactCity
object that takes both the minimum and maximum values asint
's.- Parameters:
aMin
- Minimum valueaMax
- Maximum value
-
-
Method Detail
-
getRootName
protected java.lang.String getRootName()
Gets the root element local name.- Specified by:
getRootName
in classEPPRegistryAbstractMinMax
- Returns:
- Root element local name.
-
getElmMin
protected java.lang.String getElmMin()
Gets the minimum element local name.- Specified by:
getElmMin
in classEPPRegistryAbstractMinMax
- Returns:
- Minimum element local name.
-
getElmMax
protected java.lang.String getElmMax()
Gets the maximum element local name.- Specified by:
getElmMax
in classEPPRegistryAbstractMinMax
- Returns:
- Maximum element local name.
-
getLogger
protected org.slf4j.Logger getLogger()
Gets theLogger
to use.- Specified by:
getLogger
in classEPPRegistryAbstractMinMax
- Returns:
Logger
instance to use for logging.
-
-