public interface ResourceSpecifierList extends ResourceSpecifier
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.
Modifier and Type | Method and Description |
---|---|
List<ResourceSpecifier> |
getResourceSpecifiers()
Retrieves the constituent
ResourceSpecifiers that comprise this aggregate
ResourceSpecifierList . |
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
List<ResourceSpecifier> getResourceSpecifiers()
ResourceSpecifiers
that comprise this aggregate
ResourceSpecifierList
.ResourceSpecifier
s.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.