|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(URI targetNamespace,
SimpleTypeDeclaration[] simpleTypes,
ComplexTypeDeclaration[] complexTypes,
ElementDeclaration[] elementDeclarations,
String namespacePrefix,
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 |
buildPropertyType(MappedElementDeclaration element,
String table)
|
Datastore |
getDatastore()
Returns the Datastore instance that handles this schema. |
CoordinateSystem |
getDefaultCS()
Returns the default CoordinateSystem for all geometry properties in the schema. |
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(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. |
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(URI targetNamespace,
SimpleTypeDeclaration[] simpleTypes,
ComplexTypeDeclaration[] complexTypes,
ElementDeclaration[] elementDeclarations,
String namespacePrefix,
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 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 GMLSchemaqName - the QualifiedName to look up
public MappedFeatureType getFeatureType(String localName)
FeatureType with the given name.
getFeatureType in class GMLSchemalocalName - the name to look up
protected MappedFeatureType buildFeatureType(ElementDeclaration element)
throws XMLParsingException,
UnknownCRSException
MappedFeatureType from the given element declaration.
buildFeatureType in class GMLSchemaelement -
XMLParsingException
UnknownCRSException
protected PropertyType buildPropertyType(MappedElementDeclaration element,
String table)
throws XMLParsingException,
UnknownCRSException
XMLParsingException
UnknownCRSExceptionpublic MappedFeatureType[] getSubstitutions(FeatureType ft)
getSubstitutions in class GMLSchemaft - must be a MappedFeatureType
public String toString()
GMLSchema
toString in class GMLSchema
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net