FileDocCategorySizeDatePackage
SelectorContainer.javaAPI DocApache Ant 1.705167Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.types.selectors

SelectorContainer

public interface SelectorContainer
This is the interface for selectors that can contain other selectors.
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public voidadd(FileSelector selector)
add an arbitary selector

param
selector the selector to add
since
Ant 1.6

public voidaddAnd(AndSelector selector)
add an "And" selector entry on the selector list

param
selector the selector to add

public voidaddContains(ContainsSelector selector)
add a contains selector entry on the selector list

param
selector the selector to add

public voidaddContainsRegexp(ContainsRegexpSelector selector)
add a regular expression selector entry on the selector list

param
selector the selector to add

public voidaddCustom(ExtendSelector selector)
add an extended selector entry on the selector list

param
selector the selector to add

public voidaddDate(DateSelector selector)
add a selector date entry on the selector list

param
selector the selector to add

public voidaddDepend(DependSelector selector)
add a depends selector entry on the selector list

param
selector the selector to add

public voidaddDepth(DepthSelector selector)
add a depth selector entry on the selector list

param
selector the selector to add

public voidaddDifferent(DifferentSelector selector)
add the different selector

param
selector the selector to add
since
ant 1.6

public voidaddFilename(FilenameSelector selector)
add a selector filename entry on the selector list

param
selector the selector to add

public voidaddMajority(MajoritySelector selector)
add a majority selector entry on the selector list

param
selector the selector to add

public voidaddModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector selector)
add the modified selector

param
selector the selector to add
since
ant 1.6

public voidaddNone(NoneSelector selector)
add a "None" selector entry on the selector list

param
selector the selector to add

public voidaddNot(NotSelector selector)
add a "Not" selector entry on the selector list

param
selector the selector to add

public voidaddOr(OrSelector selector)
add an "Or" selector entry on the selector list

param
selector the selector to add

public voidaddPresent(PresentSelector selector)
add a present selector entry on the selector list

param
selector the selector to add

public voidaddSelector(SelectSelector selector)
add a "Select" selector entry on the selector list

param
selector the selector to add

public voidaddSize(SizeSelector selector)
add a selector size entry on the selector list

param
selector the selector to add

public voidaddType(TypeSelector selector)
add the type selector

param
selector the selector to add
since
ant 1.6

public voidappendSelector(FileSelector selector)
Add a new selector into this container.

param
selector the new selector to add

public FileSelector[]getSelectors(org.apache.tools.ant.Project p)
Returns the set of selectors as an array.

param
p the current project
return
an array of selectors in this container

public booleanhasSelectors()
Indicates whether there are any selectors here.

return
whether any selectors are in this container

public intselectorCount()
Gives the count of the number of selectors in this container

return
the number of selectors in this container

public java.util.EnumerationselectorElements()
Returns an enumerator for accessing the set of selectors.

return
an enumerator that goes through each of the selectors