public enum XmlNsForm extends Enum<XmlNsForm>
看到“包装规范”的额外的信息共享javax.xml.bind.package javadoc。
使用
该命名空间限定值使用在本系统中定义的注释。枚举值映射如下:
Enum Value | XML Schema Value |
UNQUALIFIED | unqualified |
QUALIFIED | qualified |
UNSET | namespace qualification attribute is absent from the XML Schema fragment |
Enum 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()
对于(xmlnsform C:xmlnsform。values()) 系统,println(C);
public static XmlNsForm valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
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.