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

org.deegree.gml.schema
Class GMLSchemaAnalyzer

java.lang.Object
  extended by org.deegree.commons.xml.schema.XSModelAnalyzer
      extended by org.deegree.gml.schema.GMLSchemaAnalyzer

public class GMLSchemaAnalyzer
extends XSModelAnalyzer

Provides access to the object element declarations of a GML schema (both application and GML core schema objects).

An element declaration is an object element declaration, if it is in one or more of GML's object substitution groups. In the latest version of GML (3.2.1), eight (?) classes of GML objects exist:

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Field Summary
 
Fields inherited from class org.deegree.commons.xml.schema.XSModelAnalyzer
xmlSchema
 
Constructor Summary
GMLSchemaAnalyzer(GMLVersion version, String... schemaUrls)
          Creates a new GMLSchemaAnalyzer instance for the given GML version and using the specified schemas.
 
Method Summary
 org.apache.xerces.xs.XSElementDeclaration getAbstractCurveSegmentElementDeclaration()
          Returns the element declaration of the abstract curve segment element, i.e.
 org.apache.xerces.xs.XSElementDeclaration getAbstractFeatureElementDeclaration()
          Returns the element declaration of the abstract feature element, i.e.
 org.apache.xerces.xs.XSElementDeclaration getAbstractGeometryElementDeclaration()
          Returns the element declaration of the abstract geometry element, i.e.
 org.apache.xerces.xs.XSElementDeclaration getAbstractGMLElementDeclaration()
          Returns the element declaration of the abstract GML element, i.e.
 org.apache.xerces.xs.XSElementDeclaration getAbstractObjectElementDeclaration()
          Returns the element declaration of the abstract object element, i.e.
 org.apache.xerces.xs.XSElementDeclaration getAbstractSurfacePatchElementDeclaration()
          Returns the element declaration of the abstract surface patch element, i.e.
 List<org.apache.xerces.xs.XSElementDeclaration> getCoverageElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getCRSElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getFeatureCollectionElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getFeatureElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getGeometryElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getGmlElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getObjectElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getStyleElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getTimeObjectElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getTopologyElementDeclarations(String namespace, boolean onlyConcrete)
           
 List<org.apache.xerces.xs.XSElementDeclaration> getValueElementDeclarations(String namespace, boolean onlyConcrete)
           
 
Methods inherited from class org.deegree.commons.xml.schema.XSModelAnalyzer
getNamespaces, getSubstitutions, getSubstitutions, getXSModel, loadModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLSchemaAnalyzer

public GMLSchemaAnalyzer(GMLVersion version,
                         String... schemaUrls)
                  throws ClassCastException,
                         ClassNotFoundException,
                         InstantiationException,
                         IllegalAccessException
Creates a new GMLSchemaAnalyzer instance for the given GML version and using the specified schemas.

Parameters:
version -
schemaUrls -
Throws:
ClassCastException
ClassNotFoundException
InstantiationException
IllegalAccessException
Method Detail

getAbstractObjectElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractObjectElementDeclaration()
Returns the element declaration of the abstract object element, i.e. {http://www.opengis.net/gml}_Object (GML 3.0 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractObject (GML 3.2).

Returns:
declaration object of the abstract object element, may be null (for GML 2)

getAbstractGMLElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractGMLElementDeclaration()
Returns the element declaration of the abstract GML element, i.e. {http://www.opengis.net/gml}_GML (GML 3.0 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractGML (GML 3.2).

Returns:
declaration object of the abstract GML element, may be null (for GML 2)

getAbstractFeatureElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractFeatureElementDeclaration()
Returns the element declaration of the abstract feature element, i.e. {http://www.opengis.net/gml}_Feature (GML 2 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractFeature (GML 3.2).

Returns:
declaration object of the abstract feature element

getAbstractGeometryElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractGeometryElementDeclaration()
Returns the element declaration of the abstract geometry element, i.e. {http://www.opengis.net/gml}_Geometry (GML 2 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractGeometry (GML 3.2).

Returns:
declaration object of the abstract geometry element

getAbstractCurveSegmentElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractCurveSegmentElementDeclaration()
Returns the element declaration of the abstract curve segment element, i.e. {http://www.opengis.net/gml}_CurveSegment (GML 3 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractCurveSegment (GML 3.2).

Returns:
declaration object of the abstract curve segment element, may be null (for GML 2)

getAbstractSurfacePatchElementDeclaration

public org.apache.xerces.xs.XSElementDeclaration getAbstractSurfacePatchElementDeclaration()
Returns the element declaration of the abstract surface patch element, i.e. {http://www.opengis.net/gml}_SurfacePatch (GML 3 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractSurfacePatch (GML 3.2).

Returns:
element declaration object of the abstract geometry element, may be null (for GML 2)

getObjectElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getObjectElementDeclarations(String namespace,
                                                                                    boolean onlyConcrete)

getGmlElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getGmlElementDeclarations(String namespace,
                                                                                 boolean onlyConcrete)

getFeatureElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getFeatureElementDeclarations(String namespace,
                                                                                     boolean onlyConcrete)

getFeatureCollectionElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getFeatureCollectionElementDeclarations(String namespace,
                                                                                               boolean onlyConcrete)

getGeometryElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getGeometryElementDeclarations(String namespace,
                                                                                      boolean onlyConcrete)

getValueElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getValueElementDeclarations(String namespace,
                                                                                   boolean onlyConcrete)

getTopologyElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getTopologyElementDeclarations(String namespace,
                                                                                      boolean onlyConcrete)

getCRSElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getCRSElementDeclarations(String namespace,
                                                                                 boolean onlyConcrete)

getTimeObjectElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getTimeObjectElementDeclarations(String namespace,
                                                                                        boolean onlyConcrete)

getCoverageElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getCoverageElementDeclarations(String namespace,
                                                                                      boolean onlyConcrete)

getStyleElementDeclarations

public List<org.apache.xerces.xs.XSElementDeclaration> getStyleElementDeclarations(String namespace,
                                                                                   boolean onlyConcrete)

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

]]>