org.apache.ws.commons.schema.walker
Enum XmlSchemaTypeInfo.Type
java.lang.Object
java.lang.Enum<XmlSchemaTypeInfo.Type>
org.apache.ws.commons.schema.walker.XmlSchemaTypeInfo.Type
- All Implemented Interfaces:
- Serializable, Comparable<XmlSchemaTypeInfo.Type>
- Enclosing class:
- XmlSchemaTypeInfo
public static enum XmlSchemaTypeInfo.Type
- extends Enum<XmlSchemaTypeInfo.Type>
What the data in this 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.
LIST
public static final XmlSchemaTypeInfo.Type LIST
UNION
public static final XmlSchemaTypeInfo.Type UNION
ATOMIC
public static final XmlSchemaTypeInfo.Type ATOMIC
COMPLEX
public static final XmlSchemaTypeInfo.Type COMPLEX
values
public static XmlSchemaTypeInfo.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (XmlSchemaTypeInfo.Type c : XmlSchemaTypeInfo.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XmlSchemaTypeInfo.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.