|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.resellerext.EPPResellerExtInfData
public class EPPResellerExtInfData
Reseller Extension to the info response to return the reseller identifier and optionally the reseller name.
EPPResellerInfoResp
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerInfoResp . |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerInfoResp . |
Constructor Summary | |
---|---|
EPPResellerExtInfData()
EPPResellerInfoResp default constructor. |
|
EPPResellerExtInfData(java.lang.String aResellerId)
EPPResellerInfoResp constructor that takes the
the required reseller identifier. |
|
EPPResellerExtInfData(java.lang.String aResellerId,
java.lang.String aResellerName)
EPPResellerInfoResp constructor that takes the
the required reseller identifier and the optional reseller name. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPResellerInfoResp . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPResellerInfoResp attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPResellerExtInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerInfoResp with this
instance. |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPResellerInfoResp . |
java.lang.String |
getResellerId()
Gets the reseller identifier. |
java.lang.String |
getResellerName()
Gets the OPTIONAL reseller name. |
java.lang.String |
getType()
Gets the EPP response type associated with EPPResellerInfoResp . |
boolean |
hasResellerName()
Is the reseller name defined? |
void |
setResellerId(java.lang.String aResellerId)
Sets the reseller identifier. |
void |
setResellerName(java.lang.String aResellerName)
Sets the OPTIONAL reseller name. |
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 ELM_LOCALNAME
EPPResellerInfoResp
.
public static final java.lang.String ELM_NAME
EPPResellerInfoResp
.
Constructor Detail |
---|
public EPPResellerExtInfData()
EPPResellerInfoResp
default constructor.
public EPPResellerExtInfData(java.lang.String aResellerId)
EPPResellerInfoResp
constructor that takes the
the required reseller identifier.
aResellerId
- Reseller identifier.public EPPResellerExtInfData(java.lang.String aResellerId, java.lang.String aResellerName)
EPPResellerInfoResp
constructor that takes the
the required reseller identifier and the optional reseller name.
aResellerId
- Reseller identifier.aResellerName
- Reseller nameMethod Detail |
---|
public java.lang.String getResellerId()
null
otherwise.public void setResellerId(java.lang.String aResellerId)
aResellerId
- The reseller identifierpublic boolean hasResellerName()
true
if the reseller name is defined;
false
otherwise.public java.lang.String getResellerName()
null
otherwise.public void setResellerName(java.lang.String aResellerName)
aResellerName
- The reseller namepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPResellerExtInfoResp
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPEncodeException
- Unable to encode EPPResellerInfoResp instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPResellerInfoResp
attributes from the aElement
DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPResellerInfoResp
from.
EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPResellerInfoResp
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPResellerInfoResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
EPPResellerInfoResp
.
EPPResellerInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPResellerInfoResp
.
EPPResellerExtFactory.NS
public boolean equals(java.lang.Object aObject)
EPPResellerInfoResp
with this
instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
true
if this object is the same as the aObject argument;
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.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |