org.geotools.xml.xLink
Class XLinkSchema.To

Object
  extended by XLinkSchema.XLinkAttribute
      extended by XLinkSchema.To
All Implemented Interfaces:
Attribute
Enclosing class:
XLinkSchema

public static class XLinkSchema.To
extends XLinkSchema.XLinkAttribute

To represents a To attribute in the XLink Schema

Author:
dzwiers

Field Summary
 
Fields inherited from interface Attribute
OPTIONAL, PROHIBITED, REQUIRED
 
Constructor Summary
XLinkSchema.To()
           
 
Method Summary
 String getFixed()
           This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute.
static Attribute getInstance()
          Returns the singleton To instance
 String getName()
           The name of the attribute specified if one was provided in the attribute declaration
 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.
 
Methods inherited from class XLinkSchema.XLinkAttribute
getDefault, getId, getNamespace, isForm
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XLinkSchema.To

public XLinkSchema.To()
Method Detail

getInstance

public static Attribute getInstance()
Returns the singleton To instance


getFixed

public String 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
See Also:
schema.Attribute#getFixed()

getName

public String 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

public SimpleType 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()


Copyright © 1996-2014 Geotools. All Rights Reserved.