org.planx.xmlstore.stores
Class OptimisticReadXMLStore
java.lang.Object
org.planx.xmlstore.stores.AbstractXMLStore
org.planx.xmlstore.stores.OptimisticReadXMLStore
- All Implemented Interfaces:
- XMLStore
public class OptimisticReadXMLStore
- extends AbstractXMLStore
- Author:
- Kasper Bøgebjerg, Henning Niss, Thomas Ambus
OptimisticReadXMLStore
public OptimisticReadXMLStore(XMLStore xmlstore)
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.