org.deegree.gml.feature.schema
Class ApplicationSchemaXSDDecoder
java.lang.Object
org.deegree.gml.feature.schema.ApplicationSchemaXSDDecoder
public class ApplicationSchemaXSDDecoder
- extends Object
Provides access to the FeatureType
hierarchy defined in a GML schema document.
Note that the generated ApplicationSchema
only contains user-defined feature types, i.e. all feature base
types from the GML namespace (e.g. gml:_Feature
or gml:FeatureCollection
) are ignored. This
follows the idea that working with ApplicationSchema
objects should not involve GML (and GML-version)
specific details (such as the mentioned GML feature types).
- Version:
- $Revision: 22104 $, $Date: 2010-01-21 14:59:23 +0100 (Do, 21 Jan 2010) $
- Author:
- Markus Schneider , last edited by: $Author: mschneider $
- See Also:
ApplicationSchema
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationSchemaXSDDecoder
public ApplicationSchemaXSDDecoder(GMLVersion gmlVersion,
Map<String,String> namespaceHints,
String... schemaUrls)
throws ClassCastException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Parameters:
gmlVersion
- namespaceHints
- optional hints (key: prefix, value: namespaces) for generating 'nice' qualified feature type and
property type names, may be nullschemaUrls
-
- Throws:
ClassCastException
ClassNotFoundException
InstantiationException
IllegalAccessException
extractFeatureTypeSchema
public ApplicationSchema extractFeatureTypeSchema()
getAllEncounteredTypes
public Set<QName> getAllEncounteredTypes()
- After parsing, this method can be called to find out all referenced types that have been encountered (for
debugging).
- Returns:
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>