org.modeshape.jcr.api.query
Interface Row

All Superinterfaces:
Row

public interface Row
extends Row

Replicates some of the methods introduced in JCR 2.0.


Method Summary
 Node getNode(String selectorName)
          Returns the Node corresponding to this Row and the specified selector.
 
Methods inherited from interface javax.jcr.query.Row
getValue, getValues
 

Method Detail

getNode

Node getNode(String selectorName)
             throws RepositoryException
Returns the Node corresponding to this Row and the specified selector.

Parameters:
selectorName - the name of the selector for which the node is to be returned
Returns:
the node
Throws:
RepositoryException - if selectorName is not the alias of a selector in this query or if another error occurs.
Since:
JCR 2.0


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.