org.apache.jackrabbit.rmi.client
Class ClientRow

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientRow
All Implemented Interfaces:
javax.jcr.query.Row

public class ClientRow
extends java.lang.Object
implements javax.jcr.query.Row

Local adapter for the JCR-RMI RemoteRow interface. This class makes a remote query row locally available using the JCR Row interface.

See Also:
Row, RemoteRow

Constructor Summary
ClientRow(RemoteRow remote)
          Creates a client adapter for the given remote query row.
 
Method Summary
 javax.jcr.Node getNode()
           
 javax.jcr.Node getNode(java.lang.String selectorName)
           
 java.lang.String getPath()
           
 java.lang.String getPath(java.lang.String selectorName)
           
 double getScore()
           
 double getScore(java.lang.String selectorName)
           
 javax.jcr.Value getValue(java.lang.String s)
          
 javax.jcr.Value[] getValues()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientRow

public ClientRow(RemoteRow remote)
Creates a client adapter for the given remote query row.

Parameters:
remote - remote query row
Method Detail

getValues

public javax.jcr.Value[] getValues()
                            throws javax.jcr.RepositoryException

Specified by:
getValues in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getValue

public javax.jcr.Value getValue(java.lang.String s)
                         throws javax.jcr.RepositoryException

Specified by:
getValue in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getNode

public javax.jcr.Node getNode()
                       throws javax.jcr.RepositoryException
Specified by:
getNode in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getNode

public javax.jcr.Node getNode(java.lang.String selectorName)
                       throws javax.jcr.RepositoryException
Specified by:
getNode in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getPath

public java.lang.String getPath()
                         throws javax.jcr.RepositoryException
Specified by:
getPath in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getPath

public java.lang.String getPath(java.lang.String selectorName)
                         throws javax.jcr.RepositoryException
Specified by:
getPath in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getScore

public double getScore()
                throws javax.jcr.RepositoryException
Specified by:
getScore in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getScore

public double getScore(java.lang.String selectorName)
                throws javax.jcr.RepositoryException
Specified by:
getScore in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.