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()
Schema
getAttributeGroups
in interface Schema
schema.Schema#getAttributeGroups()
public Attribute[] getAttributes()
Schema
getAttributes
in interface Schema
schema.Schema#getAttributeDescriptors()
public int getBlockDefault()
Schema
getBlockDefault
in interface Schema
schema.Schema#getBlockDefault()
public ComplexType[] getComplexTypes()
Schema
getComplexTypes
in interface Schema
schema.Schema#getComplexTypes()
public boolean isElementFormDefault()
Schema
isElementFormDefault
in interface Schema
schema.Schema#isElementFormDefault()
public Element[] getElements()
Schema
getElements
in interface Schema
schema.Schema#getElements()
public int getFinalDefault()
Schema
getFinalDefault
in interface Schema
schema.Schema#getFinalDefault()
public Group[] getGroups()
Schema
public String getId()
Schema
public Schema[] getImports()
Schema
getImports
in interface Schema
schema.Schema#getImports()
public SimpleType[] getSimpleTypes()
Schema
getSimpleTypes
in interface Schema
schema.Schema#getSimpleTypes()
public URI getTargetNamespace()
Schema
getTargetNamespace
in interface Schema
schema.Schema#getTargetNamespace()
public String getVersion()
Schema
getVersion
in interface Schema
schema.Schema#getVersion()
public boolean includesURI(URI uri)
Schema
Used to determine if the uri should provided should be included in an instance document.
includesURI
in interface Schema
schema.Schema#includesURI(java.net.URI)
public boolean isAttributeFormDefault()
Schema
isAttributeFormDefault
in interface Schema
schema.Schema#isAttributeFormDefault()
public String getPrefix()
Schema
getPrefix
in interface Schema
Schema.getPrefix()
public static Schema getInstance()
org.geotools.xml.schema.Schema#getInstance()
public Map getImplementationHints()
getImplementationHints
in interface Factory
Copyright © 1996–2019 Geotools. All rights reserved.