public class ModelAndSyntaxTests extends SchemaModelFixture
Sources
gmlObjects, model, schemaInfo| Constructor and Description |
|---|
ModelAndSyntaxTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
hasIDTypeAttribute(org.apache.xerces.xs.XSElementDeclaration elemDecl)
Determines if the type definition for the given element declaration
includes an attribute of type xsd:ID.
|
(package private) boolean |
isGMLObject(org.apache.xerces.xs.XSElementDeclaration elemDecl)
Determines if an element is a GML object.
|
void |
verifyGMLObjectPropertyPattern()
[
Test] A GML property is a child element of a GML object; such a
property cannot itself be a GML object (i.e. |
initSchemaModelFixture, setSchemaModelpublic void verifyGMLObjectPropertyPattern()
Test] A GML property is a child element of a GML object; such a
property cannot itself be a GML object (i.e. derived from
gml:AbstractGMLType). Furthermore, it must not declare any attributes of
type xsd:ID.
Sources
boolean isGMLObject(org.apache.xerces.xs.XSElementDeclaration elemDecl)
elemDecl - An XSElementDeclaration object.true if the element corresponds to a GML object;
false otherwise.boolean hasIDTypeAttribute(org.apache.xerces.xs.XSElementDeclaration elemDecl)
elemDecl - An XSElementDeclaration object.true if the element content model contains an ID type
attribute; false otherwise.Copyright © 2023 Open Geospatial Consortium. All rights reserved.