|
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.EppXriRef
public class EppXriRef
This EppXriRef class defines Ref
information associated with XRI authority objects. It
implements XRI refAddType and refInfType defined
in the XRI authority schema file.
| Constructor Summary | |
|---|---|
EppXriRef()
Creates an EppXriRef object |
|
EppXriRef(java.lang.String ref)
Creates an EppXriRef object with a Ref |
|
EppXriRef(java.lang.String ref,
int priority)
Creates an EppXriRef object with a Ref
and a priority value |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriRef object. |
int |
getPriority()
Gets the priority value for this Ref |
java.lang.String |
getRef()
Gets the XRI string of the Ref |
void |
setPriority(int priority)
Sets the priority value for this Ref |
void |
setRef(java.lang.String ref)
Sets the XRI string of the Ref |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriRef 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 |
| Constructor Detail |
|---|
public EppXriRef()
EppXriRef object
public EppXriRef(java.lang.String ref)
EppXriRef object with a Ref
public EppXriRef(java.lang.String ref,
int priority)
EppXriRef object with a Ref
and a priority value
| Method Detail |
|---|
public int getPriority()
public void setPriority(int priority)
public java.lang.String getRef()
public void setRef(java.lang.String ref)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriRef object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriRef object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriRef object.
The caller of this method must make sure that the root node is of
the EPP XRI refAddType or refInfType.
root - root node for an EppXriRef object in
XML format
EppXriRef 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 | ||||||||