|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.fee.v06.EPPFeeInfo
public class EPPFeeInfo
Fee Info Extension that enables a client to pass fee query information to get fee information for the domain name back from the server.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPFeeInfo . |
static java.lang.String |
ELM_NAME
XML root tag for EPPFeeInfo . |
Constructor Summary | |
---|---|
EPPFeeInfo()
Default constructor for EPPFeeInfo . |
|
EPPFeeInfo(EPPFeeCommand aCommand)
Constructor for EPPFeeInfo that takes the required command
parameter. |
|
EPPFeeInfo(java.lang.String aCurrency,
EPPFeeCommand aCommand,
EPPFeePeriod aPeriod)
Constructor for EPPFeeInfo that takes all attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone an EPPCodecComponent instance. |
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 EPPFeeInfo with this instance. |
EPPFeeCommand |
getCommand()
Gets the command value. |
java.lang.String |
getCurrency()
Gets the currency 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 |
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
EPPFeeInfo
.
public static final java.lang.String ELM_NAME
EPPFeeInfo
.
Constructor Detail |
---|
public EPPFeeInfo()
EPPFeeInfo
.
public EPPFeeInfo(EPPFeeCommand aCommand)
EPPFeeInfo
that takes the required command
parameter.
aCommand
- Command to checkpublic EPPFeeInfo(java.lang.String aCurrency, EPPFeeCommand aCommand, EPPFeePeriod aPeriod)
EPPFeeInfo
that takes all attributes.
aCurrency
- desired currency to returnaCommand
- Command to checkaPeriod
- Registration period to checkMethod Detail |
---|
public 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 EPPFeeInfo
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
instance.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPFeeInfo
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)
EPPFeeInfo
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 |