public static enum XmlSchemaTypeInfo.Type extends Enum<XmlSchemaTypeInfo.Type>
XmlSchemaTypeInfo
represents. It may
be a simple type (XmlSchemaBaseSimpleType
), a list or union of
simple types, or a complex type.
Complex types are reserved for when an element only contains attributes, or the element's children are mixed with text.
Modifier and Type | Method and Description |
---|---|
static XmlSchemaTypeInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlSchemaTypeInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlSchemaTypeInfo.Type LIST
public static final XmlSchemaTypeInfo.Type UNION
public static final XmlSchemaTypeInfo.Type ATOMIC
public static final XmlSchemaTypeInfo.Type COMPLEX
public static XmlSchemaTypeInfo.Type[] values()
for (XmlSchemaTypeInfo.Type c : XmlSchemaTypeInfo.Type.values()) System.out.println(c);
public static XmlSchemaTypeInfo.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.