public class HasAttributeValidator extends TypeCollector
Collector.Mode
Node.Visitor.State, Node.Visitor.Status
Constructor and Description |
---|
HasAttributeValidator(java.lang.String objectname,
java.util.Set<java.lang.String> 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<java.lang.String> |
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<java.lang.String> validAttributes)
public boolean accept(Node n) throws java.rmi.RemoteException, MXException
Collector
accept
in class TypeCollector
java.rmi.RemoteException
MXException
public java.util.Set<java.lang.String> getValidAttributeSet()