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()
Attribute
getDefault
in interface Attribute
Attribute.getDefault()
public String getFixed()
Attribute
getFixed
in interface Attribute
Attribute.getFixed()
public boolean isForm()
Attribute
isForm
in interface Attribute
Attribute.isForm()
public String getId()
Attribute
getId
in interface Attribute
Attribute.getId()
public String getName()
Attribute
getName
in interface Attribute
Attribute.getName()
public int getUse()
Attribute
getUse
in interface Attribute
Attribute.getUse()
public SimpleType getSimpleType()
Attribute
getSimpleType
in interface Attribute
Attribute.getSimpleType()
public URI getNamespace()
Attribute
getNamespace
in interface Attribute
Attribute.getNamespace()
Copyright © 1996–2019 Geotools. All rights reserved.