|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Form>
com.sun.xml.bind.v2.schemagen.Form
enum Form
Represents the form default value.
| Enum Constant Summary | |
|---|---|
QUALIFIED
|
|
UNQUALIFIED
|
|
UNSET
|
|
| Field Summary | |
|---|---|
boolean |
isEffectivelyQualified
What's the effective value? UNSET means unqualified per XSD spec.) |
| Method Summary | |
|---|---|
(package private) abstract void |
declare(java.lang.String attName,
Schema schema)
Writes the attribute on the generated <schema> element. |
static Form |
get(javax.xml.bind.annotation.XmlNsForm xnf)
Gets the constant the corresponds to the given XmlNsForm. |
static Form |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Form[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
void |
writeForm(LocalElement e,
javax.xml.namespace.QName tagName)
Given the effective 'form' value, write (or suppress) the @form attribute on the generated XML. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Form QUALIFIED
public static final Form UNQUALIFIED
public static final Form UNSET
| Field Detail |
|---|
public final boolean isEffectivelyQualified
| Method Detail |
|---|
public static final Form[] values()
for(Form c : Form.values())
System.out.println(c);
public static Form valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
abstract void declare(java.lang.String attName,
Schema schema)
public void writeForm(LocalElement e,
javax.xml.namespace.QName tagName)
public static Form get(javax.xml.bind.annotation.XmlNsForm xnf)
XmlNsForm.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||