|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExternalResourceDescription
An ExternalResourceDescription object describes a resource that is loaded in the
ResourceManager and may be shared between components. This
object has four properties:
ResourceSpecifier that describes how to create the
resource (for simple data resources this will be a
FileResourceSpecifier that contains a URL to the data file.SharedResourceObject.
| Method Summary | |
|---|---|
String |
getDescription()
Retrieves the textual description of the resource. |
String |
getImplementationName()
Retrieves the name of the Java class to be instantiated from the resource data. |
String |
getName()
Retrieves the name by which the resource is identified. |
ResourceSpecifier |
getResourceSpecifier()
Retrieves the ResourceSpecifier that describes how to create the resource. |
void |
setDescription(String aDescription)
Retrieves the textual description of the resource. |
void |
setImplementationName(String aName)
Sets the name of the Java class to be instantiated from the resource data. |
void |
setName(String aName)
Sets the name by which the resource is identified. |
void |
setResourceSpecifier(ResourceSpecifier aSpecifier)
Sets the ResourceSpecifier that describes how to create the resource. |
| 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 |
|---|
String getName()
void setName(String aName)
aName - the name of this resource.String getDescription()
void setDescription(String aDescription)
aDescription - the textual description of the resource.ResourceSpecifier getResourceSpecifier()
ResourceSpecifier that describes how to create the resource.
ResourceSpecifier for this external resourcevoid setResourceSpecifier(ResourceSpecifier aSpecifier)
ResourceSpecifier that describes how to create the resource.
aSpecifier - the ResourceSpecifier for this external resource
UIMA_UnsupportedOperationException - if this object is not modifiableString getImplementationName()
SharedResourceObject as well as the interface specified
by ExternalResourceDependency.getInterfaceName().
void setImplementationName(String aName)
SharedResourceObject as well as the interface specified by
ExternalResourceDependency.getInterfaceName().
aName - the name of the Java class implementing the resource access
UIMA_UnsupportedOperationException - if this object is not modifiable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||