org.modeshape.jcr.query.qom
Class JcrNodePath
java.lang.Object
org.modeshape.graph.query.model.NodePath
org.modeshape.jcr.query.qom.JcrNodePath
- All Implemented Interfaces:
- Serializable, Operand, DynamicOperand, LanguageObject, Visitable, NodePath, JcrDynamicOperand
public class JcrNodePath
- extends NodePath
- implements NodePath, JcrDynamicOperand
Implementation of the node path dynamic operand for the Graph API and that is an extension to the JCR Query Object Model.
- See Also:
- Serialized Form
Constructor Summary |
JcrNodePath(SelectorName selectorName)
Create a dynamic operand that evaluates to the path of the node identified by the selector. |
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
accept |
JcrNodePath
public JcrNodePath(SelectorName selectorName)
- Create a dynamic operand that evaluates to the path of the node identified by the selector.
- Parameters:
selectorName
- the name of the selector
- Throws:
IllegalArgumentException
- if the selector name or property name are null
getSelectorName
public String getSelectorName()
- Get the selector symbol upon which this operand applies.
- Specified by:
getSelectorName
in interface NodePath
- Returns:
- the one selector names used by this operand; never null
- See Also:
NodePath.getSelectorName()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.