org.apache.tools.ant.types.selectors
Class NotSelector
- FileSelector, SelectorContainer
This selector has one other selectors whose meaning it inverts. It
actually relies on NoneSelector for its implementation of the
isSelected() method, but it adds a check to ensure there is only one
other selector contained within.
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, getSelectors, hasSelectors, isSelected, selectorCount, selectorElements, toString, validate |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
NotSelector
public NotSelector()
Default constructor.
toString
public String toString()
- toString in interface NoneSelector
- a string representation of the selector
verifySettings
public void verifySettings()
Makes sure that there is only one entry, sets an error message if
not.
- verifySettings in interface BaseSelector
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.