|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.fee.v08.EPPFeeDomain
public class EPPFeeDomain
EPPFeeDomain
represents a domain to check for the fee using the
EPPFeeCheck
extension.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPFeeDomain . |
static java.lang.String |
ELM_NAME
XML root tag for EPPFeeDomain . |
Constructor Summary | |
---|---|
EPPFeeDomain()
Default constructor for EPPFeeDomain . |
|
EPPFeeDomain(java.lang.String aName,
EPPFeeCommand aCommand)
Constructor for EPPFeeDomain that takes the required name
and command parameters. |
|
EPPFeeDomain(java.lang.String aName,
java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod)
Constructor for EPPFeeDomain that takes all attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
Decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPFeeDomain with this instance. |
EPPFeeCommand |
getCommand()
Gets the command value. |
java.lang.String |
getCurrency()
Gets the currency value. |
java.lang.String |
getName()
Gets the name value. |
EPPFeePeriod |
getPeriod()
Gets the period value. |
boolean |
hasCurrency()
Is the currency defined? |
boolean |
hasPeriod()
Is the period defined? |
void |
setCommand(EPPFeeCommand aCommand)
Sets the command value. |
void |
setCurrency(java.lang.String aCurrency)
Sets the currency value. |
void |
setName(java.lang.String aName)
Sets the name value. |
void |
setPeriod(EPPFeePeriod aPeriod)
Sets the period value. |
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
EPPFeeDomain
.
public static final java.lang.String ELM_NAME
EPPFeeDomain
.
Constructor Detail |
---|
public EPPFeeDomain()
EPPFeeDomain
.
public EPPFeeDomain(java.lang.String aName, EPPFeeCommand aCommand)
EPPFeeDomain
that takes the required name
and command parameters.
aName
- Domain Name to checkaCommand
- Command to checkpublic EPPFeeDomain(java.lang.String aName, java.lang.String aCurrency, EPPFeeCommand aCommand, EPPFeePeriod aPeriod)
EPPFeeDomain
that takes all attributes.
aName
- Domain Name to checkaCurrency
- desired currency to returnaCommand
- Command to checkaPeriod
- Registration period to checkMethod Detail |
---|
public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- Name valuepublic boolean hasCurrency()
true
if the currency is defined; false
otherwise.public java.lang.String getCurrency()
null
otherwise.public void setCurrency(java.lang.String aCurrency)
aCurrency
- Currency valuepublic EPPFeeCommand getCommand()
null
otherwise.public void setCommand(EPPFeeCommand aCommand)
aCommand
- Command valuepublic boolean hasPeriod()
true
if the period is defined; false
otherwise.public EPPFeePeriod getPeriod()
null
otherwise.public void setPeriod(EPPFeePeriod aPeriod)
aPeriod
- Period valuepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factory
EPPEncodeException
- Error encoding EPPFeeDomain
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.
decode
in interface EPPCodecComponent
aElement
- Element
to decode
EPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPFeeDomain
.
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic 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.public boolean equals(java.lang.Object aObject)
EPPFeeDomain
with this instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
true
if equal; false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |