|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.gml.GMLSchema
This class represents a hard coded, java interpreted version of the GML 2.1.2 schema. Instances of this class should be prefered for use over a parsed instance as this class will create real instances for elements who's types correspond to types defined in this schema.
Field Summary | |
static int |
BOX
GMLSchema.getInstance().getElements()[GMLSchema.BOX] |
static java.net.URI |
NAMESPACE
GML target namespace |
Fields inherited from interface org.geotools.xml.schema.Schema |
ALL, EXTENSION, NONE, RESTRICTION |
Method Summary | |
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. |
java.lang.String |
getId()
This method is intended to provide the ID of this Schema. |
java.util.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()
|
java.lang.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. |
java.net.URI |
getTargetNamespace()
This returns the intended use name of the Schema (kinda like an ID, for a better definition see the XML Schema Specification). |
java.net.URI |
getURI()
|
java.lang.String |
getVersion()
This returns the Schema version ... |
boolean |
includesURI(java.net.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(java.util.logging.Level l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.net.URI NAMESPACE
public static final int BOX
Method Detail |
public static void setLogLevel(java.util.logging.Level l)
public AttributeGroup[] getAttributeGroups()
Schema
This method is intended to provide a list of public AttributeGroups defined by this Schema. The definition of 'public AttributeGroups' should be interpreted as the set of AttributeGroups availiable when creating an instance document, extending the schema, or importing the schema.
getAttributeGroups
in interface Schema
schema.Schema#getAttributeGroups()
public Attribute[] getAttributes()
Schema
This method is intended to provide a list of public Attributes defined by this Schema. The definition of 'public Attributes' should be interpreted as the set of Attributes availiable when creating an instance document, extending the schema, or importing the schema.
getAttributes
in interface Schema
schema.Schema#getAttributes()
public int getBlockDefault()
Schema
This method returns the default block value associated with this schema as a mask. The keys for the mask are represented as constants at the head of this file. As defined in the XML Schema specification, element and type blocks should only be extended to include this block if one is not specified.
getBlockDefault
in interface Schema
schema.Schema#getBlockDefault()
public ComplexType[] getComplexTypes()
Schema
This method is intended to provide a list of public ComplexTypes defined by this Schema. The definition of 'public ComplexTypes' should be interpreted as the set of ComplexTypes availiable when creating an instance document, extending the schema, or importing the schema.
getComplexTypes
in interface Schema
schema.Schema#getComplexTypes()
public boolean isElementFormDefault()
Schema
Returns true when the Default Element Form is qualified, false otherwise.
isElementFormDefault
in interface Schema
schema.Schema#isElementFormDefault()
public Element[] getElements()
Schema
This method is intended to provide a list of public Elements defined by this Schema. The definition of 'public Elements' should be interpreted as the set of Elements availiable when creating an instance document, extending the schema, or importing the schema.
getElements
in interface Schema
schema.Schema#getElements()
public int getFinalDefault()
Schema
This method returns the default final value associated with this schema as a mask. The keys for the mask are represented as constants at the head of this file. As defined in the XML Schema specification, element and type final values should only be extended to include this final value if one is not specified.
getFinalDefault
in interface Schema
schema.Schema#getFinalDefault()
public Group[] getGroups()
Schema
This method is intended to provide a list of public Groups defined by this Schema. The definition of 'public Groups' should be interpreted as the set of Groups availiable when creating an instance document, extending the schema, or importing the schema.
getGroups
in interface Schema
schema.Schema#getGroups()
public java.lang.String getId()
Schema
This method is intended to provide the ID of this Schema.
getId
in interface Schema
schema.Schema#getId()
public Schema[] getImports()
Schema
This method is intended to provide a list of public Imports defined by this Schema. The definition of 'public Imports' should be interpreted as the set of Imports availiable when creating an instance document, extending the schema, or importing the schema.
getImports
in interface Schema
schema.Schema#getImports()
public SimpleType[] getSimpleTypes()
Schema
This method is intended to provide a list of public SimpleTypes defined by this Schema. The definition of 'public SimpleTypes' should be interpreted as the set of SimpleTypes availiable when creating an instance document, extending the schema, or importing the schema.
getSimpleTypes
in interface Schema
schema.Schema#getSimpleTypes()
public java.net.URI getTargetNamespace()
Schema
This returns the intended use name of the Schema (kinda like an ID, for a better definition see the XML Schema Specification).
getTargetNamespace
in interface Schema
schema.Schema#getTargetNamespace()
public java.net.URI getURI()
getURI
in interface Schema
public java.lang.String getVersion()
Schema
This returns the Schema version ...
getVersion
in interface Schema
schema.Schema#getVersion()
public boolean includesURI(java.net.URI uri)
Schema
This looks to see if the URI passed in is represented by this Schema. Often this method uses some heuritics on the list of included URIs. This allows one Schema to represent one targetNamespace, but be potentially represented in more than one file.
Used to determine if the uri should provided should be included in an instance document.
includesURI
in interface Schema
uri
-
schema.Schema#includesURI(java.net.URI)
public boolean isAttributeFormDefault()
Schema
Returns true when the Default Attribute Form is qualified, false otherwise.
isAttributeFormDefault
in interface Schema
schema.Schema#isAttributeFormDefault()
public java.lang.String getPrefix()
Schema
Gets the recommended prefix for this schema.
getPrefix
in interface Schema
Schema.getPrefix()
public static Schema getInstance()
org.geotools.xml.schema.Schema#getInstance()
public java.util.Map getImplementationHints()
getImplementationHints
in interface Factory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |