org.exoplatform.services.wsrp2.utils
Enum StandardClasses

java.lang.Object
  extended by java.lang.Enum<StandardClasses>
      extended by org.exoplatform.services.wsrp2.utils.StandardClasses
All Implemented Interfaces:
Serializable, Comparable<StandardClasses>

public enum StandardClasses
extends Enum<StandardClasses>

Created by The eXo Platform SAS .

Version:
$Id: $ Aug 29, 2008
Author:
Alexey Zavizionov

Enum Constant Summary
BIGDECIMAL
           
BIGINTEGER
           
CALENDAR
           
DATAHANDLER
           
DATE
           
DURATION
           
IMAGE
           
QNAME
           
SOURCE
           
STRING
           
URI
           
UUID
           
XMLGREGORIANCALENDAR
           
 
Method Summary
 Document getMarshalledDocument(Object value, QName name)
           
 Object getUnmarshalledObject(QName type, org.exoplatform.services.wsrp2.type.EventPayload payload)
           
static StandardClasses valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StandardClasses[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRING

public static final StandardClasses STRING

BIGINTEGER

public static final StandardClasses BIGINTEGER

BIGDECIMAL

public static final StandardClasses BIGDECIMAL

CALENDAR

public static final StandardClasses CALENDAR

DATE

public static final StandardClasses DATE

QNAME

public static final StandardClasses QNAME

URI

public static final StandardClasses URI

XMLGREGORIANCALENDAR

public static final StandardClasses XMLGREGORIANCALENDAR

DURATION

public static final StandardClasses DURATION

IMAGE

public static final StandardClasses IMAGE

DATAHANDLER

public static final StandardClasses DATAHANDLER

SOURCE

public static final StandardClasses SOURCE

UUID

public static final StandardClasses UUID
Method Detail

values

public static final StandardClasses[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(StandardClasses c : StandardClasses.values())
        System.out.println(c);

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

valueOf

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

getMarshalledDocument

public Document getMarshalledDocument(Object value,
                                      QName name)

getUnmarshalledObject

public Object getUnmarshalledObject(QName type,
                                    org.exoplatform.services.wsrp2.type.EventPayload payload)


Copyright © 2009 eXo Platform SAS. All Rights Reserved.