org.apache.tools.ant.types.resources.comparators
Class DelegatedResourceComparator
- Cloneable, Comparator
public class DelegatedResourceComparator
Delegates to other ResourceComparators or, if none specified,
uses Resources' natural ordering.
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
add
public void add(ResourceComparator c)
Add a delegate ResourceComparator.
c
- the next delegate ResourceComparator.
dieOnCircularReference
protected void dieOnCircularReference(Stack stk,
Project p)
throws BuildException
Overrides the version from DataType to recurse on nested ResourceSelector
s.
- dieOnCircularReference in interface DataType
stk
- the Stack of references.p
- the Project to resolve against.
equals
public boolean equals(Object o)
Equality method based on the vector of resources,
or if a reference, the referredto object.
- equals in interface ResourceComparator
o
- the object to check against.
- true if there is equality.