public class ResourceList extends DataType implements ResourceCollection
description, location, project| Constructor and Description | 
|---|
| ResourceList() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(ResourceCollection rc)Adds a source. | 
| void | addFilterChain(FilterChain filter)Adds a FilterChain. | 
| protected void | dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
                      Project p)Overrides the version of DataType to recurse on all DataType
 child elements that may have been added. | 
| boolean | isFilesystemOnly()Fulfill the ResourceCollection contract. | 
| java.util.Iterator<Resource> | iterator()Fulfill the ResourceCollection contract. | 
| void | setBasedir(java.io.File baseDir)Basedir to use for file resources read from nested resources -
 this allows the resources contained inside this collection to
 be considered relative to a certain base directory. | 
| void | setEncoding(java.lang.String encoding)Encoding to use for input, defaults to the platform's default
 encoding. | 
| void | setRefid(Reference r)Makes this instance in effect a reference to another ResourceList
 instance. | 
| int | size()Fulfill the ResourceCollection contract. | 
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void add(ResourceCollection rc)
rc - ResourceCollectionpublic final void addFilterChain(FilterChain filter)
filter - FilterChainpublic final void setEncoding(java.lang.String encoding)
For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html.
encoding - Stringpublic final void setBasedir(java.io.File baseDir)
baseDir - the basedirpublic void setRefid(Reference r) throws BuildException
setRefid in class DataTyper - ReferenceBuildExceptionpublic final java.util.Iterator<Resource> iterator()
iterator in interface java.lang.Iterable<Resource>iterator in interface ResourceCollectionpublic int size()
size in interface ResourceCollectionpublic boolean isFilesystemOnly()
isFilesystemOnly in interface ResourceCollectionprotected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
                                      Project p)
                               throws BuildException
dieOnCircularReference in class DataTypestk - the stack of data types to use (recursively).p - the project to use to dereference the references.BuildException - on error.