|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<KnownXmlType>
org.codehaus.enunciate.contract.jaxb.types.KnownXmlType
public enum KnownXmlType
Set of known xml types.
| Method Summary | |
|---|---|
java.lang.String |
getName()
The name of the known type. |
java.lang.String |
getNamespace()
The name of the known type. |
javax.xml.namespace.QName |
getQname()
The qname of the known type. |
boolean |
isAnonymous()
The definition of this type is never anonymous. |
boolean |
isSimple()
The only known type that is not simple is xs:anyType. |
static KnownXmlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static KnownXmlType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final KnownXmlType STRING
public static final KnownXmlType NORMALIZED_STRING
public static final KnownXmlType TOKEN
public static final KnownXmlType BASE64_BINARY
public static final KnownXmlType HEX_BINARY
public static final KnownXmlType INTEGER
public static final KnownXmlType POSITIVE_INTEGER
public static final KnownXmlType NEGATIVE_INTEGER
public static final KnownXmlType NONPOSITIVE_INTEGER
public static final KnownXmlType NONNEGATIVE_INTEGER
public static final KnownXmlType LONG
public static final KnownXmlType UNSIGNED_LONG
public static final KnownXmlType INT
public static final KnownXmlType UNSIGNED_INT
public static final KnownXmlType SHORT
public static final KnownXmlType UNSIGNED_SHORT
public static final KnownXmlType BYTE
public static final KnownXmlType UNSIGNED_BYTE
public static final KnownXmlType DECIMAL
public static final KnownXmlType FLOAT
public static final KnownXmlType DOUBLE
public static final KnownXmlType BOOLEAN
public static final KnownXmlType DURATION
public static final KnownXmlType DATE_TIME
public static final KnownXmlType DATE
public static final KnownXmlType TIME
public static final KnownXmlType GYEAR
public static final KnownXmlType GYEAR_MONTH
public static final KnownXmlType GMONTH
public static final KnownXmlType GMONTH_DAY
public static final KnownXmlType GDAY
public static final KnownXmlType NAME
public static final KnownXmlType QNAME
public static final KnownXmlType NCNAME
public static final KnownXmlType ANY_URI
public static final KnownXmlType ANY_SIMPLE_TYPE
public static final KnownXmlType ANY_TYPE
public static final KnownXmlType LANGUAGE
public static final KnownXmlType ID
public static final KnownXmlType IDREF
public static final KnownXmlType IDREFS
public static final KnownXmlType ENTITY
public static final KnownXmlType ENTITIES
public static final KnownXmlType NOTATION
public static final KnownXmlType NMTOKEN
public static final KnownXmlType NMTOKENS
public static final KnownXmlType SWAREF
| Method Detail |
|---|
public static KnownXmlType[] values()
for (KnownXmlType c : KnownXmlType.values()) System.out.println(c);
public static KnownXmlType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
getName in interface XmlTypepublic java.lang.String getNamespace()
getNamespace in interface XmlTypepublic javax.xml.namespace.QName getQname()
getQname in interface XmlTypepublic boolean isAnonymous()
isAnonymous in interface XmlTypepublic boolean isSimple()
isSimple in interface XmlType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||