|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.xml.schema.XMLSchema org.deegree.model.feature.schema.GMLSchema org.deegree.io.datastore.schema.MappedGMLSchema
public class MappedGMLSchema
Represents a GML application schema document which is annotated with mapping (persistence) information.
Field Summary |
---|
Fields inherited from class org.deegree.model.feature.schema.GMLSchema |
---|
featureTypeMap, substitutionMap |
Constructor Summary | |
---|---|
MappedGMLSchema(java.net.URI targetNamespace,
SimpleTypeDeclaration[] simpleTypes,
ComplexTypeDeclaration[] complexTypes,
ElementDeclaration[] elementDeclarations,
java.lang.String namespacePrefix,
java.net.URI defaultSRS,
DatastoreConfiguration backendConfiguration,
boolean suppressXLinkOutput,
MappedGMLSchemaDocument doc)
Creates a new MappedGMLSchema instance from the given parameters. |
Method Summary | |
---|---|
protected MappedFeatureType |
buildFeatureType(ElementDeclaration element)
Builds a MappedFeatureType from the given element declaration. |
protected PropertyType |
buildPropertyTypeRealName(MappedElementDeclaration element,
java.lang.String table,
QualifiedName propertyName)
|
Datastore |
getDatastore()
Returns the Datastore instance that handles this schema. |
CoordinateSystem |
getDefaultCS()
Returns the default CoordinateSystem for all geometry properties in the schema. |
java.net.URI |
getDefaultSRS()
Returns the default SRS for all geometry properties in the schema. |
MappedGMLSchemaDocument |
getDocument()
Returns the underlying GML Application Schema document. |
MappedFeatureType |
getFeatureType(QualifiedName qName)
Looks up the FeatureType with the given QualifiedName . |
MappedFeatureType |
getFeatureType(java.lang.String localName)
Looks up the FeatureType with the given name. |
MappedFeatureType[] |
getSubstitutions(FeatureType ft)
Returns all non-abstract implementations of a given feature type that are defined in this schema. |
boolean |
suppressXLinkOutput()
Returns whether GML output (of the associated datastore) will not use any XLinks. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class org.deegree.model.feature.schema.GMLSchema |
---|
buildFeatureTypeMap, buildPropertyType, buildSubstitutionMap, determinePropertyType, getFeatureTypes, getSubstitutables, hasSeveralImplementations, isValidSubstitution |
Methods inherited from class org.deegree.framework.xml.schema.XMLSchema |
---|
getComplexTypeDeclaration, getComplexTypeDeclaration, getComplexTypeDeclarations, getElementDeclaration, getElementDeclaration, getElementDeclarations, getSimpleTypeDeclaration, getSimpleTypeDeclaration, getSimpleTypeDeclarations, getTargetNamespace, getTypeDeclaration, getTypeDeclaration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
MappedGMLSchema(java.net.URI targetNamespace, SimpleTypeDeclaration[] simpleTypes, ComplexTypeDeclaration[] complexTypes, ElementDeclaration[] elementDeclarations, java.lang.String namespacePrefix, java.net.URI defaultSRS, DatastoreConfiguration backendConfiguration, boolean suppressXLinkOutput, MappedGMLSchemaDocument doc) throws XMLParsingException, UnknownCRSException
MappedGMLSchema
instance from the given parameters.
targetNamespace
- simpleTypes
- complexTypes
- elementDeclarations
- namespacePrefix
- defaultSRS
- backendConfiguration
- suppressXLinkOutput
- doc
-
XMLParsingException
UnknownCRSException
XMLSchemaException
Method Detail |
---|
public MappedGMLSchemaDocument getDocument()
public Datastore getDatastore()
Datastore
instance that handles this schema.
public boolean suppressXLinkOutput()
public java.net.URI getDefaultSRS()
public CoordinateSystem getDefaultCS()
CoordinateSystem
for all geometry properties in the schema.
public MappedFeatureType getFeatureType(QualifiedName qName)
FeatureType
with the given QualifiedName
.
getFeatureType
in class GMLSchema
qName
- the QualifiedName to look up
public MappedFeatureType getFeatureType(java.lang.String localName)
FeatureType
with the given name.
getFeatureType
in class GMLSchema
localName
- the name to look up
protected MappedFeatureType buildFeatureType(ElementDeclaration element) throws XMLParsingException, UnknownCRSException
MappedFeatureType
from the given element declaration.
buildFeatureType
in class GMLSchema
element
-
XMLParsingException
UnknownCRSException
protected PropertyType buildPropertyTypeRealName(MappedElementDeclaration element, java.lang.String table, QualifiedName propertyName) throws XMLParsingException, UnknownCRSException
XMLParsingException
UnknownCRSException
public MappedFeatureType[] getSubstitutions(FeatureType ft)
getSubstitutions
in class GMLSchema
ft
- must be a MappedFeatureType
public java.lang.String toString()
GMLSchema
toString
in class GMLSchema
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org