javax.jcr.query.qom
Interface Selector

All Superinterfaces:
Source

public interface Selector
extends Source

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:

Since:
JCR 2.0

Method Summary
 java.lang.String getNodeTypeName()
          Gets the name of the required node type.
 java.lang.String getSelectorName()
          Gets the selector name.
 

Method Detail

getNodeTypeName

java.lang.String getNodeTypeName()
Gets the name of the required node type.

Returns:
the node type name; non-null

getSelectorName

java.lang.String getSelectorName()
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


Copyright © 2009 Day Software. All Rights Reserved.