public class SchemaModelFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.apache.xerces.xs.XSElementDeclaration> |
gmlObjects
A list of the GML objects declared in the application schema (these can
substitute for gml:AbstractGML).
|
protected org.apache.xerces.xs.XSModel |
model
An XSModel object representing an XML Schema resource.
|
protected AppSchemaInfo |
schemaInfo
Provides information about the types of geographic objects defined in the
application schema.
|
| Constructor and Description |
|---|
SchemaModelFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
initSchemaModelFixture(org.testng.ITestContext testContext)
Obtains the schema model from the ISuite context.
|
void |
setSchemaModel(org.apache.xerces.xs.XSModel xsModel)
Sets the schema model (intended only to facilitate unit testing).
|
protected org.apache.xerces.xs.XSModel model
protected AppSchemaInfo schemaInfo
protected List<org.apache.xerces.xs.XSElementDeclaration> gmlObjects
public void initSchemaModelFixture(org.testng.ITestContext testContext)
model should evaluate to an XSModel object
representing the contents of the application schema.testContext - The test (set) context.public void setSchemaModel(org.apache.xerces.xs.XSModel xsModel)
xsModel - An XSModel object representing an XML Schema.Copyright © 2023 Open Geospatial Consortium. All rights reserved.