|
||||||||||
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(String attName,
com.sun.xml.bind.v2.schemagen.xmlschema.Schema schema)
Writes the attribute on the generated <schema> element. |
static Form |
get(XmlNsForm xnf)
Gets the constant the corresponds to the given XmlNsForm . |
static Form |
valueOf(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 are declared. |
void |
writeForm(com.sun.xml.bind.v2.schemagen.xmlschema.LocalAttribute a,
QName tagName)
|
void |
writeForm(com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement e,
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, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
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 Form[] values()
for (Form c : Form.values()) System.out.println(c);
public static Form valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullabstract void declare(String attName, com.sun.xml.bind.v2.schemagen.xmlschema.Schema schema)
public void writeForm(com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement e, QName tagName)
public void writeForm(com.sun.xml.bind.v2.schemagen.xmlschema.LocalAttribute a, QName tagName)
public static Form get(XmlNsForm xnf)
XmlNsForm
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |