org.jboss.shrinkwrap.descriptor.metadata.filter
Enum XsdDatatypeEnum

java.lang.Object
  extended by java.lang.Enum<XsdDatatypeEnum>
      extended by org.jboss.shrinkwrap.descriptor.metadata.filter.XsdDatatypeEnum
All Implemented Interfaces:
Serializable, Comparable<XsdDatatypeEnum>

public enum XsdDatatypeEnum
extends Enum<XsdDatatypeEnum>

Enum class which defines all specified XSD simple data types.

Author:
Ralf Battenfeld

Enum Constant Summary
_byte
           
_int
           
_long
           
_short
           
ENTITIES
           
ENTITY
           
ID
           
IDREF
           
IDREFS
           
integer
           
language
           
Name
           
NCName
           
negativeInteger
           
NMTOKEN
           
NMTOKENS
           
nonNegativeInteger
           
nonPositiveInteger
           
normalizedString
           
positiveInteger
           
token
           
unsignedByte
           
unsignedInt
           
unsignedLong
           
unsignedShort
           
 
Method Summary
 String getDescription()
           
 boolean isDataType(String tagName)
           
 boolean isTagNameEqual(String tagName)
           
static XsdDatatypeEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XsdDatatypeEnum[] 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

normalizedString

public static final XsdDatatypeEnum normalizedString

token

public static final XsdDatatypeEnum token

language

public static final XsdDatatypeEnum language

NMTOKEN

public static final XsdDatatypeEnum NMTOKEN

NMTOKENS

public static final XsdDatatypeEnum NMTOKENS

Name

public static final XsdDatatypeEnum Name

NCName

public static final XsdDatatypeEnum NCName

ID

public static final XsdDatatypeEnum ID

IDREF

public static final XsdDatatypeEnum IDREF

IDREFS

public static final XsdDatatypeEnum IDREFS

ENTITY

public static final XsdDatatypeEnum ENTITY

ENTITIES

public static final XsdDatatypeEnum ENTITIES

integer

public static final XsdDatatypeEnum integer

nonPositiveInteger

public static final XsdDatatypeEnum nonPositiveInteger

negativeInteger

public static final XsdDatatypeEnum negativeInteger

_long

public static final XsdDatatypeEnum _long

_int

public static final XsdDatatypeEnum _int

_short

public static final XsdDatatypeEnum _short

_byte

public static final XsdDatatypeEnum _byte

nonNegativeInteger

public static final XsdDatatypeEnum nonNegativeInteger

unsignedLong

public static final XsdDatatypeEnum unsignedLong

unsignedInt

public static final XsdDatatypeEnum unsignedInt

unsignedShort

public static final XsdDatatypeEnum unsignedShort

unsignedByte

public static final XsdDatatypeEnum unsignedByte

positiveInteger

public static final XsdDatatypeEnum positiveInteger
Method Detail

values

public static XsdDatatypeEnum[] 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 (XsdDatatypeEnum c : XsdDatatypeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XsdDatatypeEnum 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

getDescription

public String getDescription()

isTagNameEqual

public boolean isTagNameEqual(String tagName)

isDataType

public boolean isDataType(String tagName)


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.