Package org.apache.uima.resource
Interface ResourceSpecifierList
-
- All Superinterfaces:
Cloneable
,MetaDataObject
,ResourceSpecifier
,Serializable
,XMLizable
public interface ResourceSpecifierList extends ResourceSpecifier
A type ofResourceSpecifier
that is an aggregate of otherResourceSpecifier
s. When attempting to produce a resource using aResourceSpecifierList
, theResourceFactory
will try each constituentResourceSpecifier
, in order. The firstResource
that is successfully produced will be returned to the caller.ResourceSpecifierList
allows applications to attempt to locate a resource and then, if that fails, to construct a new instance of the resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ResourceSpecifier>
getResourceSpecifiers()
Retrieves the constituentResourceSpecifiers
that comprise this aggregateResourceSpecifierList
.-
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
-
getResourceSpecifiers
List<ResourceSpecifier> getResourceSpecifiers()
Retrieves the constituentResourceSpecifiers
that comprise this aggregateResourceSpecifierList
.- Returns:
- an unmodifiable List of
ResourceSpecifier
s.
-
-