|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.xLink.XLinkSchema
This class is a hard-coded version of the XLink Schema. The results of parsing the schema in through the parser and calling the resulting Schema objects methods should be the same as calling these methods, except that these methods should be faster.
This class consists of a series of internal private classes and an implementation of the Schema interface which is public.
Schema
Nested Class Summary | |
static class |
XLinkSchema.Actuate
Actuate represents an Actuate attribute in the XLink Schema |
static class |
XLinkSchema.ArcLink
ArcLink represents a ArcLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.Arcrole
Arcrole represents an Arcrole attribute in the XLink Schema |
static class |
XLinkSchema.EmptyLink
EmptyLink represents a EmptyLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.ExtendedLink
ExtendedLink represents a ExtendedLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.From
From represents a From attribute in the XLink Schema |
static class |
XLinkSchema.Href
Href purpose. |
static class |
XLinkSchema.Label
Label represents a Label attribute in the XLink Schema |
static class |
XLinkSchema.LocatorLink
LocatorLink represents a LocatorLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.ResourceLink
ResourceLink represents a ResourceLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.Role
|
static class |
XLinkSchema.Show
Show represents a Show attribute in the XLink Schema |
static class |
XLinkSchema.SimpleLink
SimpleLink represents a SimpleLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.Title
Title represents a Title attribute in the XLink Schema |
static class |
XLinkSchema.TitleLink
TitleLink represents a TitleLink AttributeGroup in the XLink Schema |
static class |
XLinkSchema.To
To represents a To attribute in the XLink Schema |
protected static class |
XLinkSchema.XLinkAttribute
XLinkAttribute purpose. |
protected static class |
XLinkSchema.XLinkAttributeGroup
XLinkAttributeGroup purpose. |
Field Summary | |
static java.net.URI |
NAMESPACE
The full xLink namespace |
Fields inherited from interface org.geotools.xml.schema.Schema |
ALL, EXTENSION, NONE, RESTRICTION |
Constructor Summary | |
XLinkSchema()
|
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()
DOCUMENT ME! |
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. |
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
Constructor Detail |
public XLinkSchema()
Method Detail |
public static Schema getInstance()
org.geotools.xml.schema.Schema#getInstance()
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
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 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 java.lang.String getPrefix()
getPrefix
in interface Schema
public boolean isAttributeFormDefault()
Schema
Returns true when the Default Attribute Form is qualified, false otherwise.
isAttributeFormDefault
in interface Schema
schema.Schema#isAttributeFormDefault()
public boolean isElementFormDefault()
Schema
Returns true when the Default Element Form is qualified, false otherwise.
isElementFormDefault
in interface Schema
schema.Schema#isElementFormDefault()
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 |