public static class XLinkSchema.Href extends XLinkSchema.XLinkAttribute
Represents an Href Attribute in the XLink Schema
OPTIONAL, PROHIBITED, REQUIRED
Constructor and Description |
---|
Href()
Href constructor
Creates an instance of the Href Attribute of the XLink Schema.
|
Href(int use)
Href constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFixed()
This is intended to imitate the fixed value option provided in the declaration of an XML
Schema attribute.
|
static Attribute |
getInstance()
Returns a copy of the default 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.
|
getDefault, getId, getNamespace, isForm
public Href(int use)
Creates an instance of the Href Attribute of the XLink Schema
use
- Attribute.getUse()
public Href()
Creates an instance of the Href Attribute of the XLink Schema. Sets the usage to Optional.
public static Attribute getInstance()
public String getFixed()
Attribute
public String getName()
Attribute
schema.Attribute#getLocalName()
public int getUse()
Attribute
schema.Attribute#getUse()
public SimpleType getSimpleType()
Attribute
schema.Attribute#getSimpleType()
Copyright © 1996–2019 Geotools. All rights reserved.