Package org.geotools.xml.xLink
Class XLinkSchema.Href
- All Implemented Interfaces:
Attribute
- Enclosing class:
- XLinkSchema
Href purpose.
Represents an Href Attribute in the XLink Schema
- Author:
- dzwiers, Refractions Research, Inc. http://www.refractions.net, $Author:$ (last modification)
-
Field Summary
Fields inherited from interface Attribute
OPTIONAL, PROHIBITED, REQUIRED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFixed()
This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute.static Attribute
Returns a copy of the default instance.getName()
The name of the attribute specified if one was provided in the attribute declarationProvides 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.Methods inherited from class XLinkSchema.XLinkAttribute
getDefault, getId, getNamespace, isForm
-
Constructor Details
-
Href
public Href(int use) Href constructor.Creates an instance of the Href Attribute of the XLink Schema
- See Also:
-
Href
public Href()Href constructorCreates an instance of the Href Attribute of the XLink Schema. Sets the usage to Optional.
-
-
Method Details
-
getInstance
Returns a copy of the default instance.- Returns:
- A default instance
-
getFixed
Description copied from interface:Attribute
This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute.- Returns:
- Fixed Value as a String or Null
-
getName
Description copied from interface:Attribute
The name of the attribute specified if one was provided in the attribute declaration- See Also:
-
schema.Attribute#getLocalName()
-
getUse
public int getUse()Description copied from interface: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.- See Also:
-
schema.Attribute#getUse()
-
getSimpleType
Description copied from interface:Attribute
Provides a reference to the simpleType which defines the data type of this attribute.- See Also:
-
schema.Attribute#getSimpleType()
-