public class AppSchemaUtils extends Object
| Constructor and Description |
|---|
AppSchemaUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<XSElementDeclaration> |
getAllFeatureProperties(XSModel model,
QName featureTypeName)
Produces a list of all properties for a specified feature type.
|
static QName |
getBuiltInDatatype(XSElementDeclaration propDecl)
Determines the built-in XML Schema datatype from which the given element
declaration is derived.
|
static List<XSElementDeclaration> |
getFeaturePropertiesByType(XSModel model,
QName featureTypeName,
XSTypeDefinition typeDef)
Produces a list of feature properties where the property value has a type
derived from the given (simple or complex) type definition.
|
static List<XSElementDeclaration> |
getNillableProperties(XSModel model,
QName featureTypeName)
Produces a list of nillable properties for the specified feature type.
|
static List<XSElementDeclaration> |
getRequiredProperties(XSModel model,
QName featureTypeName)
Produces a list of all required properties for a given feature type.
|
static List<XSElementDeclaration> |
getSimpleFeatureProperties(XSModel model,
QName featureTypeName)
Produces a list of properties for a specified feature type that have
either (a) a simple type definition or (b) a complex type definition with
a simple content model.
|
static void |
removeDeprecatedGMLElements(List<XSElementDeclaration> elemDecls,
XSModel model)
Removes deprecated GML feature properties from a given list of element
declarations.
|
public static List<XSElementDeclaration> getFeaturePropertiesByType(XSModel model, QName featureTypeName, XSTypeDefinition typeDef)
model - An XSModel object representing an application schema.featureTypeName - A qualified feature type name.typeDef - A (simple or complex) type definition that characterizes the
property value domain.public static List<XSElementDeclaration> getNillableProperties(XSModel model, QName featureTypeName)
model - An XSModel object representing an application schema.featureTypeName - A qualified feature type name.public static List<XSElementDeclaration> getAllFeatureProperties(XSModel model, QName featureTypeName)
model - An XSModel object representing an application schema.featureTypeName - A qualified feature type name.public static List<XSElementDeclaration> getSimpleFeatureProperties(XSModel model, QName featureTypeName)
model - An XSModel object representing an application schema.featureTypeName - A qualified feature type name.public static List<XSElementDeclaration> getRequiredProperties(XSModel model, QName featureTypeName)
model - An XSModel object representing an application schema.featureTypeName - A qualified feature type name.public static void removeDeprecatedGMLElements(List<XSElementDeclaration> elemDecls, XSModel model)
elemDecls - A List of XSElementDeclaration objects.model - An XSModel object representing a GML application schema.public static QName getBuiltInDatatype(XSElementDeclaration propDecl)
propDecl - An element declaration (simple content).Copyright © 2014 Open Geospatial Consortium. All rights reserved.