Package eu.clarin.sru.server.fcs.parser
Class QueryGroup
- java.lang.Object
-
- eu.clarin.sru.server.fcs.parser.QueryNode
-
- eu.clarin.sru.server.fcs.parser.QueryGroup
-
public class QueryGroup extends QueryNode
A FCS-QL expression tree GROUP query node.
-
-
Field Summary
-
Fields inherited from class eu.clarin.sru.server.fcs.parser.QueryNode
children, nodeType, OCCURS_UNBOUNDED, parent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(QueryVisitor visitor)
QueryNode
getContent()
Get the group content.int
getMaxOccurs()
Get the maximum occurrence of group content.int
getMinOccurs()
Get the minimum occurrence of group content.String
toString()
-
Methods inherited from class eu.clarin.sru.server.fcs.parser.QueryNode
getChild, getChild, getChildCount, getChildren, getFirstChild, getFirstChild, getLastChild, getNodeType, getParent, hasNodeType, setParent
-
-
-
-
Method Detail
-
getContent
public QueryNode getContent()
Get the group content.- Returns:
- the content of the GROUP query
-
getMinOccurs
public int getMinOccurs()
Get the minimum occurrence of group content.- Returns:
- the minimum occurrence
-
getMaxOccurs
public int getMaxOccurs()
Get the maximum occurrence of group content.- Returns:
- the maximum occurrence
-
accept
public void accept(QueryVisitor visitor)
-
-