public class DefaultSchemaSpace extends Object implements SchemaSpace
SchemaSpace
implementationConstructor and Description |
---|
DefaultSchemaSpace() |
Modifier and Type | Method and Description |
---|---|
DefaultSchemaSpace |
addSchema(Schema schema)
Adds a schema
|
Collection<? extends TypeDefinition> |
getMappingRelevantTypes()
Get all mappable types, i.e.
|
Iterable<? extends Schema> |
getSchemas()
Get the contained schemas
|
TypeDefinition |
getType(QName name)
Get the type with the given name
|
Collection<? extends TypeDefinition> |
getTypes()
Get all types in the index
|
void |
toggleMappingRelevant(Collection<? extends TypeDefinition> types)
Toggles the mappable flag of the given types.
|
public DefaultSchemaSpace addSchema(Schema schema)
schema
- the schema to addpublic Collection<? extends TypeDefinition> getTypes()
TypeIndex
getTypes
in interface TypeIndex
TypeIndex.getTypes()
public TypeDefinition getType(QName name)
TypeIndex
getType
in interface TypeIndex
name
- the type namenull
if no type with the
given name exists in the indexTypeIndex.getType(QName)
public Collection<? extends TypeDefinition> getMappingRelevantTypes()
TypeIndex
MappingRelevantFlag
getMappingRelevantTypes
in interface TypeIndex
TypeIndex.getMappingRelevantTypes()
public Iterable<? extends Schema> getSchemas()
SchemaSpace
getSchemas
in interface SchemaSpace
SchemaSpace.getSchemas()
public void toggleMappingRelevant(Collection<? extends TypeDefinition> types)
TypeIndex
toggleMappingRelevant
in interface TypeIndex
types
- the types to toggleTypeIndex.toggleMappingRelevant(java.util.Collection)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a