|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.schema.impl.AttributeGT
DOCUMENT ME!
Field Summary |
Fields inherited from interface org.geotools.xml.schema.Attribute |
OPTIONAL, PROHIBITED, REQUIRED |
Constructor Summary | |
AttributeGT(java.lang.String id,
java.lang.String name,
java.net.URI namespace,
SimpleType type,
int use,
java.lang.String defaulT,
java.lang.String fixed,
boolean form)
Creates a new AttributeGT object. |
Method Summary | |
java.lang.String |
getDefault()
This is intended to imitate the default value option provided in the declaration of an XML Schema attribute. |
java.lang.String |
getFixed()
This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute. |
java.lang.String |
getId()
The Schema ID for this attribute definition. |
java.lang.String |
getName()
The name of the attribute specified if one was provided in the attribute declaration |
java.net.URI |
getNamespace()
DOCUMENT ME! |
SimpleType |
getSimpleType()
Provides a reference to the simpleType which defines the data type of this attribute. |
int |
getUse()
Attributes only have three options for the number or occurences: none, once, optionally once. |
boolean |
isForm()
Intended to represent the form of an XML attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeGT(java.lang.String id, java.lang.String name, java.net.URI namespace, SimpleType type, int use, java.lang.String defaulT, java.lang.String fixed, boolean form)
id
- DOCUMENT ME!name
- DOCUMENT ME!namespace
- DOCUMENT ME!type
- DOCUMENT ME!use
- DOCUMENT ME!defaulT
- DOCUMENT ME!fixed
- DOCUMENT ME!form
- DOCUMENT ME!Method Detail |
public java.lang.String getDefault()
Attribute
This is intended to imitate the default value option provided in the declaration of an XML Schema attribute.
getDefault
in interface Attribute
Attribute.getDefault()
public java.lang.String getFixed()
Attribute
This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute.
getFixed
in interface Attribute
Attribute.getFixed()
public boolean isForm()
Attribute
Intended to represent the form of an XML attribute. This method should return True when the attribute is "qualified".
isForm
in interface Attribute
Attribute.isForm()
public java.lang.String getId()
Attribute
The Schema ID for this attribute definition.
getId
in interface Attribute
Attribute.getId()
public java.lang.String getName()
Attribute
The name of the attribute specified if one was provided in the attribute declaration
getName
in interface Attribute
Attribute.getName()
public int getUse()
Attribute
Attributes only have three options for the number or occurences: none, once, optionally once. This method returns the mask which represents the use of this attribute.
getUse
in interface Attribute
Attribute.getUse()
public SimpleType getSimpleType()
Attribute
Provides a reference to the simpleType which defines the data type of this attribute.
getSimpleType
in interface Attribute
Attribute.getSimpleType()
public java.net.URI getNamespace()
Attribute
getNamespace
in interface Attribute
Attribute.getNamespace()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |