Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.uima.resource
Interface ResourceSpecifierList

All Superinterfaces:
  Cloneable, MetaDataObject, ResourceSpecifier, Serializable, XMLizable

    public interface ResourceSpecifierList

extends ResourceSpecifier

A type of `ResourceSpecifier` that is an aggregate of other `ResourceSpecifier`s. When attempting to produce a resource using a `ResourceSpecifierList`, the `ResourceFactory` will try each constituent `ResourceSpecifier`, in order. The first `Resource` 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
`List` | `getResourceSpecifiers()` Retrieves the constituent `ResourceSpecifiers` that comprise this aggregate `ResourceSpecifierList`.

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 getResourceSpecifiers()

  Retrieves the constituent `ResourceSpecifiers` that comprise this aggregate `ResourceSpecifierList`.

  Returns:
    an unmodifiable List of `ResourceSpecifier`s.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 The Apache Software Foundation. All Rights Reserved.