public enum XmlSchemaContentType extends Enum<XmlSchemaContentType>
Enum Constant and Description |
---|
ELEMENT_ONLY |
EMPTY |
MIXED |
TEXT_ONLY |
Modifier and Type | Method and Description |
---|---|
static XmlSchemaContentProcessing |
schemaValueOf(String name) |
String |
toString() |
static XmlSchemaContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlSchemaContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlSchemaContentType ELEMENT_ONLY
public static final XmlSchemaContentType EMPTY
public static final XmlSchemaContentType MIXED
public static final XmlSchemaContentType TEXT_ONLY
public static XmlSchemaContentType[] values()
for (XmlSchemaContentType c : XmlSchemaContentType.values()) System.out.println(c);
public static XmlSchemaContentType 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 nullpublic static XmlSchemaContentProcessing schemaValueOf(String name)
public String toString()
toString
in class Enum<XmlSchemaContentType>
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.