|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.gml.feature.schema.ApplicationSchemaXSDDecoder
public class ApplicationSchemaXSDDecoder
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).
ApplicationSchema
Constructor Summary | |
---|---|
ApplicationSchemaXSDDecoder(GMLVersion gmlVersion,
java.util.Map<java.lang.String,java.lang.String> namespaceHints,
java.io.File schemaFile)
Creates a new ApplicationSchemaXSDDecoder from the given schema file (which may be a directory). |
|
ApplicationSchemaXSDDecoder(GMLVersion gmlVersion,
java.util.Map<java.lang.String,java.lang.String> namespaceHints,
java.lang.String... schemaUrls)
Creates a new ApplicationSchemaXSDDecoder from the given schema URL(s). |
Method Summary | |
---|---|
ApplicationSchema |
extractFeatureTypeSchema()
|
java.util.Set<javax.xml.namespace.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 |
---|
public ApplicationSchemaXSDDecoder(GMLVersion gmlVersion, java.util.Map<java.lang.String,java.lang.String> namespaceHints, java.lang.String... schemaUrls) throws java.lang.ClassCastException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
ApplicationSchemaXSDDecoder
from the given schema URL(s).
gmlVersion
- namespaceHints
- optional hints (key: prefix, value: namespaces) for generating 'nice' qualified feature type and
property type names, may be nullschemaUrls
-
java.lang.ClassCastException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public ApplicationSchemaXSDDecoder(GMLVersion gmlVersion, java.util.Map<java.lang.String,java.lang.String> namespaceHints, java.io.File schemaFile) throws java.lang.ClassCastException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.net.MalformedURLException, java.io.UnsupportedEncodingException
ApplicationSchemaXSDDecoder
from the given schema file (which may be a directory).
gmlVersion
- namespaceHints
- schemaFile
-
java.lang.ClassCastException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
Method Detail |
---|
public ApplicationSchema extractFeatureTypeSchema()
public java.util.Set<javax.xml.namespace.QName> getAllEncounteredTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |