org.gridprovenance.client.impl
Class RecordResultImpl

java.lang.Object
  extended by org.gridprovenance.client.impl.RecordResultImpl
All Implemented Interfaces:
RecordResult

public class RecordResultImpl
extends java.lang.Object
implements RecordResult

An implement of QueryAck interface

CSL of EU Provenance

Author:
Sheng Jiang

Constructor Summary
RecordResultImpl()
           
RecordResultImpl(java.lang.String any)
           
 
Method Summary
 java.lang.String getAny()
          get the Record Result
 org.w3c.dom.Document getAsDocument()
          get the XQuery Result as Document
 void printOut()
          printOut the Record Result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordResultImpl

public RecordResultImpl()

RecordResultImpl

public RecordResultImpl(java.lang.String any)
Method Detail

printOut

public void printOut()
              throws CSLException
Description copied from interface: RecordResult
printOut the Record Result

Specified by:
printOut in interface RecordResult
Throws:
CSLException

getAny

public java.lang.String getAny()
                        throws CSLException
Description copied from interface: RecordResult
get the Record Result

Specified by:
getAny in interface RecordResult
Throws:
CSLException

getAsDocument

public org.w3c.dom.Document getAsDocument()
                                   throws java.lang.Exception,
                                          CSLException
Description copied from interface: RecordResult
get the XQuery Result as Document

Specified by:
getAsDocument in interface RecordResult
Throws:
java.lang.Exception
CSLException