org.planx.xmlstore.stores
Class OptimisticReadXMLStore

java.lang.Object
  extended by org.planx.xmlstore.stores.AbstractXMLStore
      extended by org.planx.xmlstore.stores.OptimisticReadXMLStore
All Implemented Interfaces:
XMLStore

public class OptimisticReadXMLStore
extends AbstractXMLStore

Author:
Kasper Bøgebjerg, Henning Niss, Thomas Ambus

Field Summary
 
Fields inherited from class org.planx.xmlstore.stores.AbstractXMLStore
xmlstore
 
Constructor Summary
OptimisticReadXMLStore(XMLStore xmlstore)
           
 
Method Summary
 Node load(Reference vref)
          Resolves any RelativeReferences and calls AbstractXMLStore.resolvedLoad(org.planx.xmlstore.Reference).
 
Methods inherited from class org.planx.xmlstore.stores.AbstractXMLStore
checkClosed, close, resolvedLoad, save, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisticReadXMLStore

public OptimisticReadXMLStore(XMLStore xmlstore)
Method Detail

load

public Node load(Reference vref)
          throws IOException,
                 UnknownReferenceException
Description copied from class: AbstractXMLStore
Resolves any RelativeReferences and calls AbstractXMLStore.resolvedLoad(org.planx.xmlstore.Reference).

Specified by:
load in interface XMLStore
Overrides:
load in class AbstractXMLStore
Parameters:
vref - the Reference to the data
Returns:
node representing the loaded XML data
Throws:
IOException - if an error occurs during disk, network, etc access
UnknownReferenceException - if the data referenced is not stored in the XMLStore or the Reference is of a type not supported by the XMLStore


Copyright © 2010. All Rights Reserved.