public class ValueCollector extends TypeCollector
Collector.Mode
Node.Visitor.State, Node.Visitor.Status
Constructor and Description |
---|
ValueCollector(int type,
boolean ignoreCase,
java.lang.String... values) |
ValueCollector(int type,
Collector.Mode mode,
boolean ignoreCase,
java.lang.String... values) |
ValueCollector(int type,
java.lang.String... value) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Node n)
Return true if this node can be accepted by the Collector
|
java.lang.String[] |
getValues() |
boolean |
isIgnoreCase() |
public ValueCollector(int type, java.lang.String... value)
public ValueCollector(int type, boolean ignoreCase, java.lang.String... values)
public ValueCollector(int type, Collector.Mode mode, boolean ignoreCase, java.lang.String... values)
public boolean accept(Node n) throws java.rmi.RemoteException, MXException
Collector
accept
in class TypeCollector
java.rmi.RemoteException
MXException
public java.lang.String[] getValues()
public boolean isIgnoreCase()