| javax.jcr.query.qom.Selector
Selector | public interface Selector extends Source(Code) | | Selects a subset of the nodes in the repository based on node type.
A selector selects every node in the repository, subject to access control
constraints, that satisfies at least one of the following conditions:
The query is invalid if
Selector.getNodeTypeName nodeType or
Selector.getSelectorName selectorName is not a syntactically valid JCR name.
The query is invalid if
Selector.getSelectorName selectorName is identical
to the
Selector.getSelectorName selectorName of another selector in the
query.
If
Selector.getNodeTypeName nodeType is a valid JCR name but not the name
of a node type available in the repository, the query is valid but the
selector selects no nodes.
since: JCR 2.0 |
getNodeTypeName | public String getNodeTypeName()(Code) | | Gets the name of the required node type.
the node type name; non-null |
getSelectorName | public String getSelectorName()(Code) | | Gets the selector name.
A selector's name can be used elsewhere in the query to identify the
selector.
the selector name; non-null |
|
|