Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema.io.impl
Class AbstractSchemaReader

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
      extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
          extended by eu.esdihumboldt.hale.common.schema.io.impl.AbstractSchemaReader
All Implemented Interfaces:
ImportProvider, IOProvider, SchemaReader
Direct Known Subclasses:
CSVSchemaReader, ShapeSchemaReader, XmlSchemaReader

public abstract class AbstractSchemaReader
extends AbstractImportProvider
implements SchemaReader

Base implementation for SchemaReaders

Author:
Simon Templer

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ImportProvider
PARAM_RESOURCE_ID, PARAM_SOURCE
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Constructor Summary
AbstractSchemaReader()
           
 
Method Summary
 TypeIndex getSharedTypes()
          Get the shared types
 void setSharedTypes(TypeIndex sharedTypes)
          Set the shared types.
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
createReporter, execute, generateResourceId, getResourceIdentifier, getSource, setParameter, setSource, storeConfiguration, validate
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
addSupportedParameter, execute, fail, getContentType, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.schema.io.SchemaReader
getSchema
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.ImportProvider
getResourceIdentifier, getSource, setSource
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
createReporter, execute, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setContentType, setParameter, storeConfiguration, validate
 

Constructor Detail

AbstractSchemaReader

public AbstractSchemaReader()
Method Detail

setSharedTypes

public void setSharedTypes(TypeIndex sharedTypes)
Description copied from interface: SchemaReader
Set the shared types. Shared types may originate from schemas that were loaded previously.

Specified by:
setSharedTypes in interface SchemaReader
Parameters:
sharedTypes - the shared types
See Also:
SchemaReader.setSharedTypes(TypeIndex)

getSharedTypes

public TypeIndex getSharedTypes()
Get the shared types

Returns:
the shared types

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d