public class Tokens extends BaseResourceCollectionWrapper
description, location, project
Constructor and Description |
---|
Tokens() |
Modifier and Type | Method and Description |
---|---|
void |
add(Tokenizer tokenizer)
Add the nested Tokenizer to this Tokens ResourceCollection.
|
protected void |
dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p)
Overrides the BaseResourceCollectionContainer version
to check the nested Tokenizer.
|
protected java.util.Collection<Resource> |
getCollection()
Sort the contained elements.
|
void |
setEncoding(java.lang.String encoding)
Set the encoding used to create the tokens.
|
createIterator, getSize
add, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, size, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
protected java.util.Collection<Resource> getCollection()
getCollection
in class BaseResourceCollectionWrapper
public void setEncoding(java.lang.String encoding)
encoding
- the encoding to use.public void add(Tokenizer tokenizer)
tokenizer
- the tokenizer to add.protected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk, Project p) throws BuildException
dieOnCircularReference
in class AbstractResourceCollectionWrapper
stk
- the stack of data types to use (recursively).p
- the project to use to dereference the references.BuildException
- on error.