Package org.apache.uima.resource
Interface ResourceSpecifierList
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,ResourceSpecifier,java.io.Serializable,XMLizable
public interface ResourceSpecifierList extends ResourceSpecifier
A type ofResourceSpecifierthat is an aggregate of otherResourceSpecifiers. When attempting to produce a resource using aResourceSpecifierList, theResourceFactorywill try each constituentResourceSpecifier, in order. The firstResourcethat is successfully produced will be returned to the caller.ResourceSpecifierListallows 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 java.util.List<ResourceSpecifier>getResourceSpecifiers()Retrieves the constituentResourceSpecifiersthat 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
java.util.List<ResourceSpecifier> getResourceSpecifiers()
Retrieves the constituentResourceSpecifiersthat comprise this aggregateResourceSpecifierList.- Returns:
- an unmodifiable List of
ResourceSpecifiers.
-
-