public class GMLSchema extends Object implements Schema
| Modifier and Type | Field and Description |
|---|---|
static int |
BOX
GMLSchema.getInstance().getElements()[GMLSchema.BOX]
|
static URI |
NAMESPACE
GML target namespace
|
ALL, EXTENSION, NONE, RESTRICTION| Modifier and Type | Method and Description |
|---|---|
AttributeGroup[] |
getAttributeGroups()
This method is intended to provide a list of public AttributeGroups defined by this Schema.
|
Attribute[] |
getAttributes()
This method is intended to provide a list of public Attributes defined by this Schema.
|
int |
getBlockDefault()
This method returns the default block value associated with this schema as a mask.
|
ComplexType[] |
getComplexTypes()
This method is intended to provide a list of public ComplexTypes defined by this Schema.
|
Element[] |
getElements()
This method is intended to provide a list of public Elements defined by this Schema.
|
int |
getFinalDefault()
This method returns the default final value associated with this schema as a mask.
|
Group[] |
getGroups()
This method is intended to provide a list of public Groups defined by this Schema.
|
String |
getId()
This method is intended to provide the ID of this Schema.
|
Map |
getImplementationHints()
Returns the implementation hints.
|
Schema[] |
getImports()
This method is intended to provide a list of public Imports defined by this Schema.
|
static Schema |
getInstance() |
String |
getPrefix()
Gets the recommended prefix for this schema.
|
SimpleType[] |
getSimpleTypes()
This method is intended to provide a list of public SimpleTypes defined by this Schema.
|
URI |
getTargetNamespace()
This returns the intended use name of the Schema (kinda like an ID, for a better definition
see the XML Schema Specification).
|
URI |
getURI() |
String |
getVersion()
This returns the Schema version ...
|
boolean |
includesURI(URI uri)
This looks to see if the URI passed in is represented by this Schema.
|
boolean |
isAttributeFormDefault()
Returns true when the Default Attribute Form is qualified, false otherwise.
|
boolean |
isElementFormDefault()
Returns true when the Default Element Form is qualified, false otherwise.
|
static void |
setLogLevel(Level l) |
public static final URI NAMESPACE
public static final int BOX
public static void setLogLevel(Level l)
public AttributeGroup[] getAttributeGroups()
SchemagetAttributeGroups in interface Schemaschema.Schema#getAttributeGroups()public Attribute[] getAttributes()
SchemagetAttributes in interface Schemaschema.Schema#getAttributeDescriptors()public int getBlockDefault()
SchemagetBlockDefault in interface Schemaschema.Schema#getBlockDefault()public ComplexType[] getComplexTypes()
SchemagetComplexTypes in interface Schemaschema.Schema#getComplexTypes()public boolean isElementFormDefault()
SchemaisElementFormDefault in interface Schemaschema.Schema#isElementFormDefault()public Element[] getElements()
SchemagetElements in interface Schemaschema.Schema#getElements()public int getFinalDefault()
SchemagetFinalDefault in interface Schemaschema.Schema#getFinalDefault()public Group[] getGroups()
Schemapublic String getId()
Schemapublic Schema[] getImports()
SchemagetImports in interface Schemaschema.Schema#getImports()public SimpleType[] getSimpleTypes()
SchemagetSimpleTypes in interface Schemaschema.Schema#getSimpleTypes()public URI getTargetNamespace()
SchemagetTargetNamespace in interface Schemaschema.Schema#getTargetNamespace()public String getVersion()
SchemagetVersion in interface Schemaschema.Schema#getVersion()public boolean includesURI(URI uri)
SchemaUsed to determine if the uri should provided should be included in an instance document.
includesURI in interface Schemaschema.Schema#includesURI(java.net.URI)public boolean isAttributeFormDefault()
SchemaisAttributeFormDefault in interface Schemaschema.Schema#isAttributeFormDefault()public String getPrefix()
SchemagetPrefix in interface SchemaSchema.getPrefix()public static Schema getInstance()
org.geotools.xml.schema.Schema#getInstance()public Map getImplementationHints()
getImplementationHints in interface FactoryCopyright © 1996–2019 Geotools. All rights reserved.