Package org.apache.uima.resource
Interface ConfigurableDataResourceSpecifier
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,ResourceSpecifier,java.io.Serializable,XMLizable
- All Known Implementing Classes:
ConfigurableDataResourceSpecifier_impl
public interface ConfigurableDataResourceSpecifier extends ResourceSpecifier
A type ofResourceSpecifierthat locates a resource file using its URL.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceMetaDatagetMetaData()Gets the metadata for this resource, which includes descriptive information as well as configuration settings.java.lang.StringgetUrl()Retrieves the URL of the data.voidsetMetaData(ResourceMetaData aMetaData)Sets the metadata for this resource.voidsetUrl(java.lang.String aUrl)Sets the URL of the data.-
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
-
-
-
-
Method Detail
-
getUrl
java.lang.String getUrl()
Retrieves the URL of the data.- Returns:
- a URL string
-
setUrl
void setUrl(java.lang.String aUrl)
Sets the URL of the data.- Parameters:
aUrl- a URL string
-
getMetaData
ResourceMetaData getMetaData()
Gets the metadata for this resource, which includes descriptive information as well as configuration settings.- Returns:
- the metadata for this resource
-
setMetaData
void setMetaData(ResourceMetaData aMetaData)
Sets the metadata for this resource.- Parameters:
aMetaData- metadata to assign
-
-