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, isFormpublic Href(int use)
Creates an instance of the Href Attribute of the XLink Schema
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()
Attributepublic String getName()
Attributeschema.Attribute#getLocalName()public int getUse()
Attributeschema.Attribute#getUse()public SimpleType getSimpleType()
Attributeschema.Attribute#getSimpleType()Copyright © 1996–2021 Geotools. All rights reserved.