public enum XmlSchemaBaseSimpleType extends Enum<XmlSchemaBaseSimpleType>
QName
s. This set is limited to only
anyType
, anySimpleType
, and the
primitive datatypes defined by XML Schema.Enum Constant and Description |
---|
ANYSIMPLETYPE |
ANYTYPE |
ANYURI |
BIN_BASE64 |
BIN_HEX |
BOOLEAN |
DATE |
DATETIME |
DAY |
DECIMAL |
DOUBLE |
DURATION |
FLOAT |
MONTH |
MONTHDAY |
NOTATION |
QNAME |
STRING |
TIME |
YEAR |
YEARMONTH |
Modifier and Type | Method and Description |
---|---|
static XmlSchemaBaseSimpleType |
getBaseSimpleTypeFor(QName qName)
Returns the XML Schema base simple type for the provided
QName . |
QName |
getQName()
The corresponding
QName that the
XmlSchemaBaseSimpleType represents in XML Schema. |
static boolean |
isBaseSimpleType(QName qName)
Returns
true if the provided QName references XML
Schema's anyType , anySimpleType , or one of the
primitive datatypes defined by XML Schema. |
static XmlSchemaBaseSimpleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlSchemaBaseSimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlSchemaBaseSimpleType ANYTYPE
public static final XmlSchemaBaseSimpleType ANYSIMPLETYPE
public static final XmlSchemaBaseSimpleType DURATION
public static final XmlSchemaBaseSimpleType DATETIME
public static final XmlSchemaBaseSimpleType TIME
public static final XmlSchemaBaseSimpleType DATE
public static final XmlSchemaBaseSimpleType YEARMONTH
public static final XmlSchemaBaseSimpleType YEAR
public static final XmlSchemaBaseSimpleType MONTHDAY
public static final XmlSchemaBaseSimpleType DAY
public static final XmlSchemaBaseSimpleType MONTH
public static final XmlSchemaBaseSimpleType STRING
public static final XmlSchemaBaseSimpleType BOOLEAN
public static final XmlSchemaBaseSimpleType BIN_BASE64
public static final XmlSchemaBaseSimpleType BIN_HEX
public static final XmlSchemaBaseSimpleType FLOAT
public static final XmlSchemaBaseSimpleType DECIMAL
public static final XmlSchemaBaseSimpleType DOUBLE
public static final XmlSchemaBaseSimpleType ANYURI
public static final XmlSchemaBaseSimpleType QNAME
public static final XmlSchemaBaseSimpleType NOTATION
public static XmlSchemaBaseSimpleType[] values()
for (XmlSchemaBaseSimpleType c : XmlSchemaBaseSimpleType.values()) System.out.println(c);
public static XmlSchemaBaseSimpleType 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 QName getQName()
QName
that the
XmlSchemaBaseSimpleType
represents in XML Schema.public static XmlSchemaBaseSimpleType getBaseSimpleTypeFor(QName qName)
QName
.
If the QName
represents anyType
,
anySimpleType
, or one of the
primitive datatypes defined by XML Schema, returns the corresponding
XmlSchemaBaseSimpleType
. Otherwise, returns
null
.qName
- The QName
of an XML Schema base simple type.XmlSchemaBaseSimpleType
.public static boolean isBaseSimpleType(QName qName)
true
if the provided QName
references XML
Schema's anyType
, anySimpleType
, or one of the
primitive datatypes defined by XML Schema. Otherwise, returns
false
.qName
- The QName
of an XML Schema type to check.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.