Constructor and Description |
---|
SchemaDecorator(Schema schema)
Create a schema decorator.
|
Modifier and Type | Method and Description |
---|---|
URI |
getLocation()
Get the location
|
Collection<? extends TypeDefinition> |
getMappingRelevantTypes()
Get all mappable types, i.e.
|
String |
getNamespace()
Get the schema namespace
|
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 SchemaDecorator(Schema schema)
schema
- the decorateepublic URI getLocation()
Locatable
getLocation
in interface Locatable
null
public String getNamespace()
Schema
getNamespace
in interface Schema
public Collection<? extends TypeDefinition> getTypes()
TypeIndex
public TypeDefinition getType(QName name)
TypeIndex
public Collection<? extends TypeDefinition> getMappingRelevantTypes()
TypeIndex
MappingRelevantFlag
getMappingRelevantTypes
in interface TypeIndex
public void toggleMappingRelevant(Collection<? extends TypeDefinition> types)
TypeIndex
toggleMappingRelevant
in interface TypeIndex
types
- the types to toggleBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a