public class ModelAndSyntaxTests extends SchemaModelFixture
gmlObjects, model, schemaInfo| Constructor and Description |
|---|
ModelAndSyntaxTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
hasIDTypeAttribute(XSElementDeclaration elemDecl)
Determines if the type definition for the given element declaration
includes an attribute of type xsd:ID.
|
(package private) boolean |
isGMLObject(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.
boolean isGMLObject(XSElementDeclaration elemDecl)
elemDecl - An XSElementDeclaration object.true if the element corresponds to a GML object;
false otherwise.boolean hasIDTypeAttribute(XSElementDeclaration elemDecl)
elemDecl - An XSElementDeclaration object.true if the element content model contains an ID type
attribute; false otherwise.Copyright © 2014 Open Geospatial Consortium. All rights reserved.