public enum XmlNsForm extends Enum<XmlNsForm>
有关其他常见信息,请参阅javax.xml.bind.package javadoc中的“Package Specification”。
用法
命名空间限定值在此打包中定义的注释中使用。 枚举值映射如下:
Enum Value XML Schema Value UNQUALIFIED unqualified QUALIFIED qualified UNSET namespace qualification attribute is absent from the XML Schema fragmentEnum Constant and Description |
---|
QUALIFIED |
UNQUALIFIED |
UNSET |
Modifier and Type | Method and Description |
---|---|
static XmlNsForm |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static XmlNsForm[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final XmlNsForm UNQUALIFIED
public static final XmlNsForm QUALIFIED
public static final XmlNsForm UNSET
public static XmlNsForm[] values()
for (XmlNsForm c : XmlNsForm.values())
System.out.println(c);
public static XmlNsForm valueOf(String name)
name
- 要返回的枚举常数的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- 如果参数为null
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.