deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.gml.feature.schema
Class ApplicationSchemaXSDDecoder

java.lang.Object
  extended by 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

Constructor Summary
ApplicationSchemaXSDDecoder(GMLVersion gmlVersion, Map<String,String> namespaceHints, String... schemaUrls)
           
 
Method Summary
 ApplicationSchema extractFeatureTypeSchema()
           
 Set<QName> getAllEncounteredTypes()
          After parsing, this method can be called to find out all referenced types that have been encountered (for debugging).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 null
schemaUrls -
Throws:
ClassCastException
ClassNotFoundException
InstantiationException
IllegalAccessException
Method Detail

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:

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>