org.directwebremoting.extend
Enum InboundVariable.OnJsonParseError

java.lang.Object
  extended by java.lang.Enum<InboundVariable.OnJsonParseError>
      extended by org.directwebremoting.extend.InboundVariable.OnJsonParseError
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InboundVariable.OnJsonParseError>
Enclosing class:
InboundVariable

public static enum InboundVariable.OnJsonParseError
extends java.lang.Enum<InboundVariable.OnJsonParseError>


Enum Constant Summary
Hack
          If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then find some hack to do the best we can and carry on.
Skip
          If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then insert null and carry on
Throw
          If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then throw
 
Method Summary
static InboundVariable.OnJsonParseError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InboundVariable.OnJsonParseError[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Throw

public static final InboundVariable.OnJsonParseError Throw
If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then throw


Skip

public static final InboundVariable.OnJsonParseError Skip
If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then insert null and carry on


Hack

public static final InboundVariable.OnJsonParseError Hack
If there is anything about the InboundVariable that can not be represented in 100% pure JSON, then find some hack to do the best we can and carry on. This option may produce invalid JSON

Method Detail

values

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

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

valueOf

public static InboundVariable.OnJsonParseError valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

Copyright ¬ 2005