| org.geotools.xml.schema.Attribute
All known Subclasses: org.geotools.xml.schema.impl.AttributeGT,
Attribute | public interface Attribute (Code) | |
An instance of this interface should represent an Attribute from an XML
schema.
author: dzwiers www.refractions.net |
Field Summary | |
final public static int | OPTIONAL Represent a mask used to determine the life of the attribute in an
instance document. | final public static int | PROHIBITED Represent a mask used to determine the life of the attribute in an
instance document. | final public static int | REQUIRED Represent a mask used to determine the life of the attribute in an
instance document. |
Method Summary | |
public String | getDefault()
This is intended to imitate the default value option provided in the
declaration of an XML Schema attribute. | public String | getFixed()
This is intended to imitate the fixed value option provided in the
declaration of an XML Schema attribute. | public String | getId()
The Schema ID for this attribute definition. | public String | getName() | public URI | getNamespace() | public SimpleType | getSimpleType()
Provides a reference to the simpleType which defines the data type of
this attribute. | public int | getUse()
Attributes only have three options for the number or occurences: none,
once, optionally once. | public boolean | isForm()
Intended to represent the form of an XML attribute. |
OPTIONAL | final public static int OPTIONAL(Code) | | Represent a mask used to determine the life of the attribute in an
instance document.
|
PROHIBITED | final public static int PROHIBITED(Code) | | Represent a mask used to determine the life of the attribute in an
instance document.
|
REQUIRED | final public static int REQUIRED(Code) | | Represent a mask used to determine the life of the attribute in an
instance document.
|
getDefault | public String getDefault()(Code) | |
This is intended to imitate the default value option provided in the
declaration of an XML Schema attribute.
Default Value as a String or Null |
getFixed | public String getFixed()(Code) | |
This is intended to imitate the fixed value option provided in the
declaration of an XML Schema attribute.
Fixed Value as a String or Null |
getId | public String getId()(Code) | |
The Schema ID for this attribute definition.
|
getName | public String getName()(Code) | |
The name of the attribute specified if one was provided in the attribute
declaration
|
getNamespace | public URI getNamespace()(Code) | | DOCUMENT ME!
|
getSimpleType | public SimpleType getSimpleType()(Code) | |
Provides a reference to the simpleType which defines the data type of
this attribute.
|
getUse | public int getUse()(Code) | |
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.
|
isForm | public boolean isForm()(Code) | |
Intended to represent the form of an XML attribute. This method should
return True when the attribute is "qualified".
|
|
|