OPTIONAL, PROHIBITED, REQUIRED| Constructor and Description |
|---|
AttributeGT(String id,
String name,
URI namespace,
SimpleType type,
int use,
String defaulT,
String fixed,
boolean form)
Creates a new AttributeGT object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefault()
This is intended to imitate the default value option provided in the declaration of an XML
Schema attribute.
|
String |
getFixed()
This is intended to imitate the fixed value option provided in the declaration of an XML
Schema attribute.
|
String |
getId()
The Schema ID for this attribute definition.
|
String |
getName()
The name of the attribute specified if one was provided in the attribute declaration
|
URI |
getNamespace()
DOCUMENT ME!
|
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.
|
boolean |
isForm()
Intended to represent the form of an XML attribute.
|
public AttributeGT(String id, String name, URI namespace, SimpleType type, int use, String defaulT, String fixed, boolean form)
id - DOCUMENT ME!name - DOCUMENT ME!namespace - DOCUMENT ME!type - DOCUMENT ME!use - DOCUMENT ME!defaulT - DOCUMENT ME!fixed - DOCUMENT ME!form - DOCUMENT ME!public String getDefault()
AttributegetDefault in interface AttributeAttribute.getDefault()public String getFixed()
AttributegetFixed in interface AttributeAttribute.getFixed()public boolean isForm()
AttributeisForm in interface AttributeAttribute.isForm()public String getId()
AttributegetId in interface AttributeAttribute.getId()public String getName()
AttributegetName in interface AttributeAttribute.getName()public int getUse()
AttributegetUse in interface AttributeAttribute.getUse()public SimpleType getSimpleType()
AttributegetSimpleType in interface AttributeAttribute.getSimpleType()public URI getNamespace()
AttributegetNamespace in interface AttributeAttribute.getNamespace()Copyright © 1996–2019 Geotools. All rights reserved.