|
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.EppXriServiceEndpointRule
public abstract class EppXriServiceEndpointRule
This EppXriServiceEndpointRule abstract class encapsulates
the common EPP XRI Authority ServiceEndpoint rules (Type, MediaType and Path).
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_MATCH_ATTR
Default value of the match attribute if it was omitted or its value is null. |
static java.lang.String |
DEFAULT_SELECT_ATTR
Default value of the select attribute is FALSE if it was omitted in the parent element. |
static boolean |
DEFAULT_SELECT_ATTR_BOOL
|
static java.lang.String |
MATCH_ATTR_ANY
|
static java.lang.String |
MATCH_ATTR_CONTENT
|
static java.lang.String |
MATCH_ATTR_DEFAULT
|
static java.lang.String |
MATCH_ATTR_NON_NULL
|
static java.lang.String |
MATCH_ATTR_NONE
|
static java.lang.String |
MATCH_ATTR_NULL
|
static java.lang.String |
SELECT_ATTR_FALSE
|
static java.lang.String |
SELECT_ATTR_TRUE
|
| Constructor Summary | |
|---|---|
EppXriServiceEndpointRule()
Creates a default EppXriServiceEndpointRule object |
|
EppXriServiceEndpointRule(java.lang.String value,
java.lang.String match,
java.lang.Boolean select)
Creates a default EppXriServiceEndpointRule object with the given value |
|
| Method Summary | |
|---|---|
java.lang.String |
getMatch()
Gets the "match" attribute of this Type/MediaType/Path rule |
boolean |
getSelect()
Gets the "select" attribute of this Type/MediaType/Path rule |
java.lang.String |
getValue()
Gets the value of this Type/MediaType/Path rule |
void |
setFromXML(org.w3c.dom.Node root)
Sets the members of this EppXriServiceEndpointRule object from the given XML element. |
void |
setMatch(java.lang.String match)
Sets the "match" attribute of this Type/MediaType/Path rule |
void |
setSelect(boolean select)
Sets the "select" attribute of this Type/MediaType/Path rule |
void |
setSelect(java.lang.String select)
Sets the "select" attribute of this Type/MediaType/Path rule. |
void |
setValue(java.lang.String value)
Sets the value of this Type/MediaType/Path rule |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriServiceEndpointRule object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
fromXML, toString, 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 MATCH_ATTR_DEFAULT
public static final java.lang.String MATCH_ATTR_CONTENT
public static final java.lang.String MATCH_ATTR_ANY
public static final java.lang.String MATCH_ATTR_NON_NULL
public static final java.lang.String MATCH_ATTR_NULL
public static final java.lang.String MATCH_ATTR_NONE
public static final java.lang.String DEFAULT_MATCH_ATTR
MATCH_ATTR_CONTENT
as defined in xri-resolution-v2.0-wd-10-ed-08.
public static final java.lang.String SELECT_ATTR_TRUE
public static final java.lang.String SELECT_ATTR_FALSE
public static final java.lang.String DEFAULT_SELECT_ATTR
public static final boolean DEFAULT_SELECT_ATTR_BOOL
| Constructor Detail |
|---|
public EppXriServiceEndpointRule()
EppXriServiceEndpointRule object
public EppXriServiceEndpointRule(java.lang.String value,
java.lang.String match,
java.lang.Boolean select)
EppXriServiceEndpointRule object with the given value
| Method Detail |
|---|
public java.lang.String getMatch()
public void setMatch(java.lang.String match)
public boolean getSelect()
public void setSelect(boolean select)
public void setSelect(java.lang.String select)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriServiceEndpointRule object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriServiceEndpoint object
Element objectpublic void setFromXML(org.w3c.dom.Node root)
EppXriServiceEndpointRule object from the given XML element.
The caller of this method must make sure that the root node is of
the EPP XRI sepRuleType.
root - root node for an EppXriServiceEndpointRule object in
XML format
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||