public class HasAttributeValidator extends TypeCollector
Collector.ModeNode.Visitor.State, Node.Visitor.Statustype| Constructor and Description |
|---|
HasAttributeValidator(java.lang.String objectname,
java.util.Set validAttributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Node n)
Return true if this node can be accepted by the Collector
|
java.util.Set |
getValidAttributeSet()
After validation is done, you can get a Set of valid attributes that are
being used in the expression
|
public HasAttributeValidator(java.lang.String objectname,
java.util.Set validAttributes)
public boolean accept(Node n) throws java.rmi.RemoteException, MXException
Collectoraccept in class TypeCollectorjava.rmi.RemoteExceptionMXExceptionpublic java.util.Set getValidAttributeSet()