public interface FieldableNode extends QueryNode
FieldableNodeinterface to indicate that its children and itself are associated to a specific field. If it has any children which also implements this interface, it must ensure the children are associated to the same field.
|Modifier and Type||Method and Description|
Returns the field associated to the node and every node under it.
Associates the node to a field.
add, add, cloneTree, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isLeaf, set, setTag, setTag, toQueryString, toString, unsetTag, unsetTag
void setField(CharSequence fieldName)
fieldName- the field name