|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.xri.EppXriNumberAttribute
public class EppXriNumberAttribute
This EppXriNumberAttribute class defines i-numbers
information associated with XRI authority objects. It
implements XRI inumberType defined
in the XRI authority schema file.
| Field Summary | |
|---|---|
protected static int |
DEFAULT_PRIORITY
Default priority value - 10 |
| Constructor Summary | |
|---|---|
EppXriNumberAttribute()
Creates an EppXriNumberAttribute object |
|
EppXriNumberAttribute(java.lang.String inumber,
int priority)
Creates an EppXriNumberAttribute object with an identifier |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriNumberAttribute object. |
java.lang.String |
getINumber()
Gets the i-number |
int |
getPriority()
Gets the priority value for this i-number |
void |
setINumber(java.lang.String inumber)
Sets the i-number |
void |
setPriority(int priority)
Sets the priority value for this i-number |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriNumberAttribute object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int DEFAULT_PRIORITY
| Constructor Detail |
|---|
public EppXriNumberAttribute()
EppXriNumberAttribute object
public EppXriNumberAttribute(java.lang.String inumber,
int priority)
EppXriNumberAttribute object with an identifier
| Method Detail |
|---|
public java.lang.String getINumber()
public void setINumber(java.lang.String inumber)
public int getPriority()
public void setPriority(int priority)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriNumberAttribute object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriNumberAttribute object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriNumberAttribute object.
The caller of this method must make sure that the root node is of
the EPP XRI xriAU:inumberType.
root - root node for an EppXriNumberAttribute object in
XML format
EppXriNumberAttribute object, or null if the node is
invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||