Class SelectorImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
org.apache.jackrabbit.spi.commons.query.qom.SourceImpl
org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl
SelectorImpl...-
Method Summary
Modifier and TypeMethodDescriptionaccept(QOMTreeVisitor visitor, Object data) Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.Gets the name of the required node type.Gets the name of the required node type.Gets the selector name.Gets the selector name.toString()
-
Method Details
-
getNodeTypeQName
Gets the name of the required node type.- Returns:
- the node type name; non-null
-
getSelectorQName
Gets the selector name.A selector's name can be used elsewhere in the query to identify the selector.
- Returns:
- the selector name; non-null
-
getSelectors
- Specified by:
getSelectorsin classSourceImpl- Returns:
- the selectors that are contained in this source.
-
getNodeTypeName
Gets the name of the required node type.- Specified by:
getNodeTypeNamein interfaceSelector- Returns:
- the node type name; non-null
-
getSelectorName
Gets the selector name.A selector's name can be used elsewhere in the query to identify the selector.
- Specified by:
getSelectorNamein interfaceSelector- Returns:
- the selector name; non-null
-
accept
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
toString
-