|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.rgpext.EPPRgpExtReportText
public class EPPRgpExtReportText
The EPPRgpExtReportText is the EPPCodecComponent that knows how to encode and decode RGP report text elements from/to XML and object instance. Does both statements and reasons.
Title: EPP 1.0 RGP
Description: RGP Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
| Field Summary | |
|---|---|
static java.lang.String |
ELM_DEFAULT_LANG
Default Language -- English "en" |
static java.lang.String |
ELM_RES_REASON
Element tag name for the resReason Element |
static java.lang.String |
ELM_STATEMENT
Element tag name for the statement Element |
| Constructor Summary | |
|---|---|
EPPRgpExtReportText()
Create a new instance of EPPRgpExtReportText |
|
EPPRgpExtReportText(java.lang.String aMessage)
Create a new instance of EPPRgpExtReportText with the given message string. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPRgpExtReportText. |
void |
decode(org.w3c.dom.Element aElement)
Populate the data of this instance with the data stored in the given Element of the DOM tree |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Attach all data to the DOM Document passed in. |
boolean |
equals(java.lang.Object aObject)
Implements a deep EPPRgpExtReportText/code> compare. |
java.lang.String |
getLang()
Get the value of the lang attribute |
java.lang.String |
getLocalName()
Get the current local name without the namespace prefix. |
java.lang.String |
getMessage()
Get the value of the message attribute |
void |
setLang(java.lang.String lang)
Sets the value of the long attribute |
void |
setLocalName(java.lang.String localName)
Set the current local name without the namespace prefix. |
void |
setMessage(java.lang.String message)
set the value of the message attribute |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_DEFAULT_LANG
public static final java.lang.String ELM_RES_REASON
public static final java.lang.String ELM_STATEMENT
| Constructor Detail |
|---|
public EPPRgpExtReportText()
public EPPRgpExtReportText(java.lang.String aMessage)
aMessage - The message value to set| Method Detail |
|---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - The DOM Document to append data to
Element
EPPEncodeException - Thrown when errors occur during the
encode attempt or if the instance is invalid.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - The root element of the report fragment of XML
EPPDecodeException - Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPRgpExtReportText/code> compare.
- Overrides:
equals in class java.lang.Object
- Parameters:
aObject - EPPRgpExtReportText instance to compare with
- Returns:
- true if equal false otherwise
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRgpExtReportText.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRgpExtReportText
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String getLang()
public void setLang(java.lang.String lang)
lang - the new value of the lang attributepublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - the value of the message attributepublic java.lang.String getLocalName()
public void setLocalName(java.lang.String localName)
localName - the new value of the tag name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||