org.apache.jackrabbit.rmi.client
Class ClientRow

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

public class ClientRow
extends Object
implements 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
 Node getNode()
           
 Node getNode(String selectorName)
           
 String getPath()
           
 String getPath(String selectorName)
           
 double getScore()
           
 double getScore(String selectorName)
           
 Value getValue(String s)
          
 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 Value[] getValues()
                  throws RepositoryException

Specified by:
getValues in interface Row
Throws:
RepositoryException

getValue

public Value getValue(String s)
               throws RepositoryException

Specified by:
getValue in interface Row
Throws:
RepositoryException

getNode

public Node getNode()
             throws RepositoryException
Specified by:
getNode in interface Row
Throws:
RepositoryException

getNode

public Node getNode(String selectorName)
             throws RepositoryException
Specified by:
getNode in interface Row
Throws:
RepositoryException

getPath

public String getPath()
               throws RepositoryException
Specified by:
getPath in interface Row
Throws:
RepositoryException

getPath

public String getPath(String selectorName)
               throws RepositoryException
Specified by:
getPath in interface Row
Throws:
RepositoryException

getScore

public double getScore()
                throws RepositoryException
Specified by:
getScore in interface Row
Throws:
RepositoryException

getScore

public double getScore(String selectorName)
                throws RepositoryException
Specified by:
getScore in interface Row
Throws:
RepositoryException


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