org.apache.tools.ant.types.selectors

Class NotSelector

public class NotSelector extends NoneSelector

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.

Since: 1.5

Constructor Summary
NotSelector()
Default constructor.
Method Summary
StringtoString()
voidverifySettings()
Makes sure that there is only one entry, sets an error message if not.

Constructor Detail

NotSelector

public NotSelector()
Default constructor.

Method Detail

toString

public String toString()

Returns: a string representation of the selector

verifySettings

public void verifySettings()
Makes sure that there is only one entry, sets an error message if not.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.