Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema.model.impl
Class DefaultSchema

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.impl.DefaultTypeIndex
      extended by eu.esdihumboldt.hale.common.schema.model.impl.DefaultSchema
All Implemented Interfaces:
Locatable, Schema, TypeIndex
Direct Known Subclasses:
XmlIndex

public class DefaultSchema
extends DefaultTypeIndex
implements Schema

Default Schema implemenation

Author:
Simon Templer

Constructor Summary
DefaultSchema(String namespace, URI location)
          Create a schema
 
Method Summary
 URI getLocation()
          Get the location
 String getNamespace()
          Get the schema namespace
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.impl.DefaultTypeIndex
addType, getMappingRelevantTypes, getType, getTypes, toggleMappingRelevant
 
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.model.TypeIndex
getMappingRelevantTypes, getType, getTypes, toggleMappingRelevant
 

Constructor Detail

DefaultSchema

public DefaultSchema(String namespace,
                     URI location)
Create a schema

Parameters:
namespace - the schema namespace
location - the schema location
Method Detail

getLocation

public URI getLocation()
Description copied from interface: Locatable
Get the location

Specified by:
getLocation in interface Locatable
Returns:
the location, may be null
See Also:
Locatable.getLocation()

getNamespace

public String getNamespace()
Description copied from interface: Schema
Get the schema namespace

Specified by:
getNamespace in interface Schema
Returns:
the namespace
See Also:
Schema.getNamespace()

Humboldt Alignment Editor 2.5.0

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