public static class Query.AtomTerm extends Object implements Query.Term
Modifier and Type | Method and Description |
---|---|
boolean |
hasAttribute(String attribute)
Check if this term (or its sub-terms) contain a given attribute
|
Boolean |
match(Query.AmbigousTermMatcher m)
Does the term matches the provided object, returning null if does not apply (e.g., the object does not have the provided attribute)
|
boolean |
match(Query.TermMatcher m)
A term matches, when
Query.TermMatcher.match(String, String) matches |
boolean |
sameAttribute(Query.AtomTerm t) |
String |
toString() |
String |
toString(Query.QueryFormatter f)
Print the term/sub-query
|
public boolean match(Query.TermMatcher m)
Query.TermMatcher.match(String, String)
matchesmatch
in interface Query.Term
public boolean hasAttribute(String attribute)
Query.Term
hasAttribute
in interface Query.Term
public boolean sameAttribute(Query.AtomTerm t)
public String toString(Query.QueryFormatter f)
Query.Term
toString
in interface Query.Term
public Boolean match(Query.AmbigousTermMatcher m)
Query.Term
match
in interface Query.Term