uk.ac.bbk.dcs.automed.xml.wrappers
Class DOMWrapperFactory

java.lang.Object
  extended by uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory
      extended by uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapperFactory
          extended by uk.ac.bbk.dcs.automed.xml.wrappers.DOMWrapperFactory

public class DOMWrapperFactory
extends XMLWrapperFactory

A lower level wrapper factory for accessing XML files using DOM. Conforms to the AutoMed XML high level wrapper factory.

Author:
Lucas Zamboulis

Field Summary
 
Fields inherited from class uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapperFactory
VALIDATING, WHITESPACE_COLLAPSE, WHITESPACE_REPLACE
 
Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory
automedModelName, baseName, empty, factoryInUse, modelName, SOURCE_PREFIX
 
Constructor Summary
DOMWrapperFactory()
           
 
Method Summary
protected  void createTypeHierarchy()
           
protected  AutoMedWrapper newAutoMedWrapper()
          Create a new empty wrapper instance that this wrapper factory is then able to populate.
protected  void populateSchema(AutoMedWrapper wrapper)
          Read the metadata from the wrapper connection, and store in existing Schema within the wrapper.
 
Methods inherited from class uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapperFactory
createAutoMedSchema, getAutoMedModel, getFeatureNames, getModel
 
Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapperFactory
clearFeatures, getAutoMedModelName, getFeatures, getModelBaseName, getModelName, isFeatureInUse, safeIQL, setFeatures, setFeatures, setModelBaseName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMWrapperFactory

public DOMWrapperFactory()
Method Detail

populateSchema

protected void populateSchema(AutoMedWrapper wrapper)
Description copied from class: AutoMedWrapperFactory
Read the metadata from the wrapper connection, and store in existing Schema within the wrapper. To be called by AutoMedWrapper instances as part of the wrapper creation process.

Specified by:
populateSchema in class AutoMedWrapperFactory

createTypeHierarchy

protected void createTypeHierarchy()
                            throws AutoMedException
Throws:
AutoMedException

newAutoMedWrapper

protected AutoMedWrapper newAutoMedWrapper()
Description copied from class: AutoMedWrapperFactory
Create a new empty wrapper instance that this wrapper factory is then able to populate.

Specified by:
newAutoMedWrapper in class AutoMedWrapperFactory