public static class XLinkSchema.Role extends XLinkSchema.XLinkAttribute
OPTIONAL, PROHIBITED, REQUIRED
Constructor and Description |
---|
Role() |
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() |
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 static Attribute getInstance()
public String getFixed()
Attribute
schema.Attribute#getFixed()
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.