|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.nv.EPPNameVerificationDocument
public class EPPNameVerificationDocument
EPPNameVerificationDocument represents an individual
verification document that includes a type and the "base64"
content.
| Nested Class Summary | |
|---|---|
static class |
EPPNameVerificationDocument.FileType
File Type that include: PDF - PDF file type
JPG - JPG file type. |
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the result local name |
static java.lang.String |
ELM_NAME
Constant for the profile tag |
| Constructor Summary | |
|---|---|
EPPNameVerificationDocument()
Default constructor for EPPNameVerificationDocument. |
|
EPPNameVerificationDocument(EPPNameVerificationDocument.FileType aFileType,
java.lang.String aFileContent)
Constructor for EPPNameVerificationDocument that two
attributes of the document of the file type and file content. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPNameVerificationDocument. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPNameVerificationDocument 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 EPPNameVerificationDocument instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPNameVerificationDocument with this
instance. |
java.lang.String |
getFileContent()
Gets the "base64" file content. |
EPPNameVerificationDocument.FileType |
getFileType()
Gets the type of the document file. |
void |
setFileContent(java.lang.String aFileContent)
Sets the "base64" file content. |
void |
setFileType(EPPNameVerificationDocument.FileType aFileType)
Sets the type of the document file. |
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 EPPNameVerificationDocument()
EPPNameVerificationDocument.
public EPPNameVerificationDocument(EPPNameVerificationDocument.FileType aFileType,
java.lang.String aFileContent)
EPPNameVerificationDocument that two
attributes of the document of the file type and file content.
aFileType - Type of the fileaFileContent - "base64" encoded content of the file| Method Detail |
|---|
public EPPNameVerificationDocument.FileType getFileType()
public void setFileType(EPPNameVerificationDocument.FileType aFileType)
aFileType - Type of the document file.public java.lang.String getFileContent()
public void setFileContent(java.lang.String aFileContent)
aFileContent - the fileContent to set
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPNameVerificationDocument instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPNameVerificationDocument instance.
EPPEncodeException - Unable to encode EPPNameVerificationDocument
instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPNameVerificationDocument attributes from the
aElement DOM Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode
EPPNameVerificationDocument from.
EPPDecodeException - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPNameVerificationDocument with this
instance.
equals in class java.lang.ObjectaObject - Object to compare with.
true if equal; false otherwise.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPNameVerificationDocument.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPNameVerificationDocument
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.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||