|
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.EppXriServiceEndpoint
public class EppXriServiceEndpoint
This EppXriServiceEndpoint class defines a service endpoint
associated with XRI authority objects.
It implements XRI sepAddType and sepInfType defined
in the XRI authority schema file.
| Constructor Summary | |
|---|---|
EppXriServiceEndpoint()
Creates an EppXriServiceEndpoint object |
|
EppXriServiceEndpoint(java.lang.String id)
Creates an EppXriServiceEndpoint object with an identifier |
|
| Method Summary | |
|---|---|
void |
addLocalID(EppXriSynonym id)
Adds a LocalID associated with the XRI authority object |
void |
addMediaType(EppXriServiceEndpointMediaType mediaType)
Adds a media type object to be associated with this XRI Service Endpoint object |
void |
addMediaType(java.lang.String mediaType)
Adds a media type to be associated with this XRI Service Endpoint object |
void |
addMediaType(java.lang.String mediaType,
java.lang.String match,
java.lang.Boolean select)
Adds a media type to be associated with this XRI Service Endpoint object |
void |
addPath(EppXriServiceEndpointPath path)
Add a path object to the path list |
void |
addPath(java.lang.String path)
Add a path to the path list of this XRI Service Endpoint object |
void |
addPath(java.lang.String path,
java.lang.String match,
java.lang.Boolean select)
Add a path to the path list of this XRI Service Endpoint object |
void |
addRedirect(EppXriURI redirect)
Adds a Redirect associated with the XRI authority object |
void |
addRef(EppXriRef ref)
Adds a Ref associated with the XRI authority object |
void |
addType(EppXriServiceEndpointType type)
Add a service type object to the service type list |
void |
addType(java.lang.String type)
Add a service type to the service type list of this XRI Service Endpoint object |
void |
addType(java.lang.String type,
java.lang.String match,
java.lang.Boolean select)
Add a service type to the service type list of this XRI Service Endpoint object |
void |
addURI(EppXriURI uri)
Adds a URI to be associated with this XRI Service Endpoint object |
void |
addURI(java.lang.String uri)
Adds a URI to be associated with this XRI Service Endpoint object with no priority value |
void |
addURI(java.lang.String uri,
int priority,
java.lang.String append)
Adds a URI to be associated with this XRI Service Endpoint object with a priority value |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriServiceEndpoint object. |
java.lang.String |
getAuthority()
Gets the identifier of the authority that provides the services of this XRI Service Endpoint object |
java.lang.String |
getExtension()
Gets the extension chunk of this XRI Service Endpoint object |
java.lang.String |
getId()
Gets the identifier of this XRI Service Endpoint object |
java.util.Vector |
getLocalID()
Gets a list of LocalIDs associated with the XRI authority object |
java.util.Vector |
getMediaType()
Gets the media types associated with this XRI Service Endpoint object |
java.util.Vector |
getPath()
Gets the list of paths of this XRI Service Endpoint object |
int |
getPriority()
Gets the priority value for this XRI Service Endpoint object |
java.util.Vector |
getRedirect()
Gets a list of Redirects associated with the XRI authority object |
java.util.Vector |
getRef()
Gets a list of Refs associated with the XRI authority object |
java.util.Vector |
getType()
Gets the list of service types of this XRI Service Endpoint object |
java.util.Vector |
getURI()
Gets the URIs associated with this XRI Service Endpoint object |
void |
setAuthority(java.lang.String authority)
Sets the identifier of the authority that provides the services of this XRI Service Endpoint object |
void |
setExtension(java.lang.String extension)
Sets the extension chunk of this XRI Service Endpoint object |
void |
setId(java.lang.String id)
Sets the identifier of this XRI Service Endpoint object |
void |
setPriority(int priority)
Sets the priority value for this XRI Service Endpoint object |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriServiceEndpoint 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 EppXriServiceEndpoint()
EppXriServiceEndpoint object
public EppXriServiceEndpoint(java.lang.String id)
EppXriServiceEndpoint object with an identifier
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
public int getPriority()
public void setPriority(int priority)
public java.lang.String getAuthority()
public void setAuthority(java.lang.String authority)
public java.util.Vector getType()
public void addType(java.lang.String type)
public void addType(java.lang.String type,
java.lang.String match,
java.lang.Boolean select)
public void addType(EppXriServiceEndpointType type)
public java.util.Vector getPath()
public void addPath(java.lang.String path)
public void addPath(java.lang.String path,
java.lang.String match,
java.lang.Boolean select)
public void addPath(EppXriServiceEndpointPath path)
public java.util.Vector getURI()
public void addURI(java.lang.String uri)
public void addURI(java.lang.String uri,
int priority,
java.lang.String append)
public void addURI(EppXriURI uri)
public java.util.Vector getMediaType()
public void addMediaType(java.lang.String mediaType)
public void addMediaType(java.lang.String mediaType,
java.lang.String match,
java.lang.Boolean select)
public void addMediaType(EppXriServiceEndpointMediaType mediaType)
public java.util.Vector getRef()
public void addRef(EppXriRef ref)
Note: This method should be only called by the EPP server, and an EPP client should not perform this operation.
public java.util.Vector getRedirect()
public void addRedirect(EppXriURI redirect)
Note: This method should be only called by the EPP server, and an EPP client should not perform this operation.
public java.util.Vector getLocalID()
public void addLocalID(EppXriSynonym id)
Note: This method should be only called by the EPP server, and an EPP client should not perform this operation.
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriServiceEndpoint object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriServiceEndpoint object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriServiceEndpoint object.
The caller of this method must make sure that the root node is of
the EPP XRI sepAddType or sepInfType.
root - root node for an EppXriServiceEndpoint object in
XML format
EppXriServiceEndpoint 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 | ||||||||