|
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.EppXriURI
public class EppXriURI
This EppXriURI class defines URI
information associated with XRI authority objects. It
implements XRI uriType defined
in the XRI authority schema file.
| Field Summary | |
|---|---|
static java.lang.String |
APPEND_AUTHORITY
|
static java.lang.String |
APPEND_LOCAL
|
static java.lang.String |
APPEND_NONE
|
static java.lang.String |
APPEND_PATH
|
static java.lang.String |
APPEND_QUERY
|
static java.lang.String |
APPEND_QXRI
|
static java.lang.String |
DEFAULT_APPEND
If the "append" attribute is not present, its default value is APPEND_LOCAL. |
| Constructor Summary | |
|---|---|
EppXriURI()
Creates an EppXriURI object |
|
EppXriURI(java.lang.String uri)
Creates an EppXriURI object with a URI |
|
EppXriURI(java.lang.String uri,
int priority)
Creates an EppXriURI object with a URI and a priority value |
|
EppXriURI(java.lang.String uri,
int priority,
java.lang.String append)
Creates an EppXriURI object with a URI, a priority value and an append value. |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriURI object. |
java.lang.String |
getAppend()
Gets the append attribute value |
int |
getPriority()
Gets the priority value for this URI |
java.lang.String |
getURI()
Gets the URI |
void |
setAppend(java.lang.String append)
Sets the append attribute value |
void |
setPriority(int priority)
Sets the priority value for this URI |
void |
setURI(java.lang.String uri)
Sets the URI |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriURI 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 |
|---|
public static final java.lang.String APPEND_LOCAL
public static final java.lang.String APPEND_AUTHORITY
public static final java.lang.String APPEND_PATH
public static final java.lang.String APPEND_QUERY
public static final java.lang.String APPEND_QXRI
public static final java.lang.String APPEND_NONE
public static final java.lang.String DEFAULT_APPEND
APPEND_LOCAL.
| Constructor Detail |
|---|
public EppXriURI()
EppXriURI object
public EppXriURI(java.lang.String uri)
EppXriURI object with a URI
public EppXriURI(java.lang.String uri,
int priority)
EppXriURI object with a URI and a priority value
public EppXriURI(java.lang.String uri,
int priority,
java.lang.String append)
EppXriURI object with a URI, a priority value and an append value.
| Method Detail |
|---|
public java.lang.String getURI()
public void setURI(java.lang.String uri)
public int getPriority()
public void setPriority(int priority)
public java.lang.String getAppend()
public void setAppend(java.lang.String append)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriURI object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriURI object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriURI object.
The caller of this method must make sure that the root node is of
the EPP XRI uriAddType or uriInfType.
root - root node for an EppXriURI object in
XML format
EppXriURI 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 | ||||||||