|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.launch.EPPLaunchCodeMark
public class EPPLaunchCodeMark
Class for an address within an EPPMarkContact
.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the local name |
static java.lang.String |
ELM_NAME
Constant for the tag name |
Constructor Summary | |
---|---|
EPPLaunchCodeMark()
Default constructor for EPPLaunchCodeMark . |
|
EPPLaunchCodeMark(EPPMark aMark)
Constructor that takes just the mark attribute of the EPPLaunchCodeMark . |
|
EPPLaunchCodeMark(java.lang.String aCode)
Constructor that takes just the code attribute of the EPPLaunchCodeMark . |
|
EPPLaunchCodeMark(java.lang.String aCode,
EPPMark aMark)
Constructor that takes both the code and mark attributes of the EPPLaunchCodeMark . |
|
EPPLaunchCodeMark(java.lang.String aCode,
java.lang.String aValidatorId)
Constructor that takes just the code attribute of the EPPLaunchCodeMark and the validator identifier of the code. |
|
EPPLaunchCodeMark(java.lang.String aCode,
java.lang.String aValidatorId,
EPPMark aMark)
Constructor that takes both the code, code validator identifier, and mark attributes of the EPPLaunchCodeMark . |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLaunchCodeMark . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPMark component |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLaunchCodeMark compare. |
java.lang.String |
getCode()
Gets the mark code used to validate the mark information. |
EPPMark |
getMark()
Gets the mark information. |
java.lang.String |
getValidatorId()
Gets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator that the code originates from. |
boolean |
hasCode()
Is the mark code set? |
boolean |
hasCodeMark()
Is both the mark code and mark set? |
boolean |
hasMark()
Is the mark set? |
boolean |
hasValidatorId()
Is the Validator Identifier defined? |
void |
setCode(java.lang.String aCode)
Sets the mark code used to validate the mark information. |
void |
setMark(EPPMark aMark)
Sets the mark information. |
void |
setValidatorId(java.lang.String aValidatorId)
Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator that the code originates from. |
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
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
public EPPLaunchCodeMark()
EPPLaunchCodeMark
.
public EPPLaunchCodeMark(java.lang.String aCode)
EPPLaunchCodeMark
.
aCode
- Mark codepublic EPPLaunchCodeMark(java.lang.String aCode, java.lang.String aValidatorId)
EPPLaunchCodeMark
and the validator identifier of the code.
aCode
- Mark codeaValidatorId
- Identifier of the Trademark Validator that aCode
originated from.public EPPLaunchCodeMark(EPPMark aMark)
EPPLaunchCodeMark
.
aMark
- Mark informationpublic EPPLaunchCodeMark(java.lang.String aCode, EPPMark aMark)
EPPLaunchCodeMark
.
aCode
- Mark codeaMark
- Mark informationpublic EPPLaunchCodeMark(java.lang.String aCode, java.lang.String aValidatorId, EPPMark aMark)
EPPLaunchCodeMark
.
aCode
- Mark codeaValidatorId
- Identifier of the Trademark Validator that aCode
originated from.aMark
- Mark informationMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchCodeMark
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchCodeMark
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPMark
component
decode
in interface EPPCodecComponent
aElement
- Root element of the EPPMark
EPPDecodeException
- Error decoding the EPPMark
public boolean equals(java.lang.Object aObject)
EPPLaunchCodeMark
compare.
equals
in class java.lang.Object
aObject
- EPPLaunchCodeMark
instance to compare with
public boolean hasCodeMark()
true
if the mark code and mark are set;
false
otherwise.public boolean hasCode()
true
if the mark code is set; false
otherwise.public java.lang.String getCode()
null
otherwise.public void setCode(java.lang.String aCode)
aCode
- The mark codepublic java.lang.String getValidatorId()
code
originates from.
null
.public void setValidatorId(java.lang.String aValidatorId)
code
originates from.
aValidatorId
- Validator Identifierpublic boolean hasValidatorId()
true
if the Validator Identifier is defined;
false
otherwise.public boolean hasMark()
true
if the mark is set; false
otherwise.public EPPMark getMark()
null
otherwise.public void setMark(EPPMark aMark)
aMark
- The mark informationpublic 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 |