org.geotools.xml.xLink
Class XLinkSchema.XLinkAttribute

java.lang.Object
  extended byorg.geotools.xml.xLink.XLinkSchema.XLinkAttribute
All Implemented Interfaces:
Attribute
Direct Known Subclasses:
XLinkSchema.Actuate, XLinkSchema.Arcrole, XLinkSchema.From, XLinkSchema.Href, XLinkSchema.Label, XLinkSchema.Role, XLinkSchema.Show, XLinkSchema.Title, XLinkSchema.To
Enclosing class:
XLinkSchema

protected abstract static class XLinkSchema.XLinkAttribute
extends java.lang.Object
implements Attribute

XLinkAttribute purpose.

Used to define some constant values for XLink attributes, such as Namespace

Version:
$Id: XLinkSchema.java 17701 2006-01-23 00:00:51Z desruisseaux $
Author:
dzwiers, Refractions Research, Inc. http://www.refractions.net, $Author:$ (last modification)

Field Summary
 
Fields inherited from interface org.geotools.xml.schema.Attribute
OPTIONAL, PROHIBITED, REQUIRED
 
Constructor Summary
protected XLinkSchema.XLinkAttribute()
           
 
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 getId()
           The Schema ID for this attribute definition.
 java.net.URI getNamespace()
          DOCUMENT ME!
 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
 
Methods inherited from interface org.geotools.xml.schema.Attribute
getFixed, getName, getSimpleType, getUse
 

Constructor Detail

XLinkSchema.XLinkAttribute

protected XLinkSchema.XLinkAttribute()
Method Detail

getNamespace

public java.net.URI getNamespace()
Description copied from interface: Attribute
DOCUMENT ME!

Specified by:
getNamespace in interface Attribute
Returns:
See Also:
schema.Attribute#getNameSpace()

getDefault

public java.lang.String getDefault()
Description copied from interface: Attribute

This is intended to imitate the default value option provided in the declaration of an XML Schema attribute.

Specified by:
getDefault in interface Attribute
Returns:
Default Value as a String or Null
See Also:
schema.Attribute#getDefault()

isForm

public boolean isForm()
Description copied from interface: Attribute

Intended to represent the form of an XML attribute. This method should return True when the attribute is "qualified".

Specified by:
isForm in interface Attribute
Returns:
See Also:
schema.Attribute#isForm()

getId

public java.lang.String getId()
Description copied from interface: Attribute

The Schema ID for this attribute definition.

Specified by:
getId in interface Attribute
Returns:
See Also:
schema.Attribute#getId()


Copyright © GeoTools. All Rights Reserved.