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.Termpublic boolean hasAttribute(String attribute)
Query.TermhasAttribute in interface Query.Termpublic boolean sameAttribute(Query.AtomTerm t)
public String toString(Query.QueryFormatter f)
Query.TermtoString in interface Query.Termpublic Boolean match(Query.AmbigousTermMatcher m)
Query.Termmatch in interface Query.Term