|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.impl.URISpecifier_impl
public class URISpecifier_impl
Reference implementation of URISpecifier
.
Field Summary |
---|
Fields inherited from interface org.apache.uima.resource.URISpecifier |
---|
RESOURCE_TYPE_ANALYSIS_ENGINE, RESOURCE_TYPE_CAS_CONSUMER |
Constructor Summary | |
---|---|
URISpecifier_impl()
Creates a new URISpecifier_impl . |
Method Summary | |
---|---|
Parameter[] |
getParameters()
|
java.lang.String |
getProtocol()
Gets the name of the Protocol used to communicate with the service. |
java.lang.String |
getResourceType()
Retrieves the type of Resource (e.g. |
java.lang.Integer |
getTimeout()
Gets the timeout period in milliseconds. |
java.lang.String |
getUri()
Retrieves the URI at which a Resource may be located. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
setParameters(Parameter[] parameters)
|
void |
setProtocol(java.lang.String aProtocol)
Sets the name of the Protocol used to communicate with the service. |
void |
setResourceType(java.lang.String aResourceType)
Sets the type of Resource (e.g. |
void |
setTimeout(java.lang.Integer aTimeout)
Sets the timeout period in milliseconds. |
void |
setUri(java.lang.String aUri)
Sets the URI at which a Resource may be located. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public URISpecifier_impl()
URISpecifier_impl
.
Method Detail |
---|
public java.lang.String getUri()
URISpecifier
getUri
in interface URISpecifier
org.apache.uima.resrouce.URISpecifier#getURI()
public void setUri(java.lang.String aUri)
URISpecifier
setUri
in interface URISpecifier
aUri
- a URI stringorg.apache.uima.resrouce.URISpecifier#setURI(String)
public java.lang.String getProtocol()
URISpecifier
Constants
class.
getProtocol
in interface URISpecifier
org.apache.uima.resrouce.URISpecifier#getProtocol()
public void setProtocol(java.lang.String aProtocol)
URISpecifier
Constants
class.
setProtocol
in interface URISpecifier
aProtocol
- the name of the protocol.org.apache.uima.resrouce.URISpecifier#setProtocol(String)
public java.lang.Integer getTimeout()
URISpecifier
getTimeout
in interface URISpecifier
URISpecifier.getTimeout()
public void setTimeout(java.lang.Integer aTimeout)
URISpecifier
setTimeout
in interface URISpecifier
aTimeout
- the timeout period in milliseconds. A null value indicates that the transport layer's
default value will be used.org.apache.uima.resource.URISpecifier#setTimeout(int)
public java.lang.String getResourceType()
URISpecifier
getResourceType
in interface URISpecifier
public void setResourceType(java.lang.String aResourceType)
URISpecifier
setResourceType
in interface URISpecifier
aResourceType
- the type of Resource. This should be one of the constants on this class, or null to
indicate that the resource type is not specified.public Parameter[] getParameters()
getParameters
in interface URISpecifier
public void setParameters(Parameter[] parameters)
setParameters
in interface URISpecifier
parameters
- The Parameters to set.protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |