|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.commons.xml.schema.XMLSchemaInfoSet
org.deegree.gml.schema.GMLSchemaInfoSet
public class GMLSchemaInfoSet
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:
Field Summary |
---|
Fields inherited from class org.deegree.commons.xml.schema.XMLSchemaInfoSet |
---|
xmlSchema |
Constructor Summary | |
---|---|
GMLSchemaInfoSet(GMLVersion version,
java.lang.String... schemaUrls)
Creates a new GMLSchemaInfoSet 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. |
java.util.SortedSet<java.lang.String> |
getAppNamespaces()
Returns all application namespaces that participate in this infoset. |
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getCoverageElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getCRSElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getFeatureCollectionElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getFeatureElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSTypeDefinition> |
getFeatureTypeDefinitions(java.lang.String namespace,
boolean onlyConcrete)
|
org.apache.xerces.xs.XSElementDeclaration |
getGeometryElement(javax.xml.namespace.QName elName)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getGeometryElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getGmlElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
GMLObjectPropertyType |
getGMLPropertyDecl(org.apache.xerces.xs.XSElementDeclaration elDecl,
javax.xml.namespace.QName ptName,
int minOccurs,
int maxOccurs,
java.util.List<PropertyType> ptSubstitutions)
Checks the given element declaration and returns a GMLObjectPropertyType if it defines a GML object
property or GML reference property. |
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getObjectElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getStyleElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getTimeObjectElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getTopologyElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
java.util.List<org.apache.xerces.xs.XSElementDeclaration> |
getValueElementDeclarations(java.lang.String namespace,
boolean onlyConcrete)
|
GMLVersion |
getVersion()
Returns the GML version used for the infoset. |
static boolean |
isGMLNamespace(java.lang.String ns)
Returns whether the given namespace is a GML core namespace. |
Methods inherited from class org.deegree.commons.xml.schema.XMLSchemaInfoSet |
---|
getComponentLocations, getNamespacePrefixes, getNamespaces, getSchemaNamespaces, getSubstitutions, getSubstitutions, getSubtypes, getXSModel, loadModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GMLSchemaInfoSet(GMLVersion version, java.lang.String... schemaUrls) throws java.lang.ClassCastException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
GMLSchemaInfoSet
instance for the given GML version and using the specified schemas.
version
- schemaUrls
-
java.lang.ClassCastException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
Method Detail |
---|
public GMLVersion getVersion()
null
public static boolean isGMLNamespace(java.lang.String ns)
ns
- namespace to check, may be null
public java.util.SortedSet<java.lang.String> getAppNamespaces()
This excludes all namespaces that are imported by the GML core schemas.
null
public org.apache.xerces.xs.XSElementDeclaration getAbstractObjectElementDeclaration()
{http://www.opengis.net/gml}_Object
(GML 3.0 to 3.1) or
{http://www.opengis.net/gml/3.2}AbstractObject
(GML 3.2).
null
(for GML 2)public org.apache.xerces.xs.XSElementDeclaration getAbstractGMLElementDeclaration()
{http://www.opengis.net/gml}_GML
(GML 3.0 to 3.1) or {http://www.opengis.net/gml/3.2}AbstractGML
(GML 3.2).
null
(for GML 2)public org.apache.xerces.xs.XSElementDeclaration getAbstractFeatureElementDeclaration()
{http://www.opengis.net/gml}_Feature
(GML 2 to 3.1) or
{http://www.opengis.net/gml/3.2}AbstractFeature
(GML 3.2).
public org.apache.xerces.xs.XSElementDeclaration getAbstractGeometryElementDeclaration()
{http://www.opengis.net/gml}_Geometry
(GML 2 to 3.1) or
{http://www.opengis.net/gml/3.2}AbstractGeometry
(GML 3.2).
public org.apache.xerces.xs.XSElementDeclaration getAbstractCurveSegmentElementDeclaration()
{http://www.opengis.net/gml}_CurveSegment
(GML 3 to 3.1) or
{http://www.opengis.net/gml/3.2}AbstractCurveSegment
(GML 3.2).
null
(for GML 2)public org.apache.xerces.xs.XSElementDeclaration getAbstractSurfacePatchElementDeclaration()
{http://www.opengis.net/gml}_SurfacePatch
(GML 3 to 3.1) or
{http://www.opengis.net/gml/3.2}AbstractSurfacePatch
(GML 3.2).
null
(for GML 2)public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getObjectElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getGmlElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getFeatureElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSTypeDefinition> getFeatureTypeDefinitions(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getFeatureCollectionElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getGeometryElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getValueElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getTopologyElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getCRSElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getTimeObjectElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getCoverageElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public java.util.List<org.apache.xerces.xs.XSElementDeclaration> getStyleElementDeclarations(java.lang.String namespace, boolean onlyConcrete)
public org.apache.xerces.xs.XSElementDeclaration getGeometryElement(javax.xml.namespace.QName elName)
public GMLObjectPropertyType getGMLPropertyDecl(org.apache.xerces.xs.XSElementDeclaration elDecl, javax.xml.namespace.QName ptName, int minOccurs, int maxOccurs, java.util.List<PropertyType> ptSubstitutions)
GMLObjectPropertyType
if it defines a GML object
property or GML reference property.
elDecl
- ptName
- minOccurs
- maxOccurs
- ptSubstitutions
-
GMLObjectPropertyType
or null
if it's not a GML object property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |