libgdx API

com.badlogic.gdx.utils
Enum JsonWriter.OutputType

java.lang.Object
  extended by java.lang.Enum<JsonWriter.OutputType>
      extended by com.badlogic.gdx.utils.JsonWriter.OutputType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JsonWriter.OutputType>
Enclosing class:
JsonWriter

public static enum JsonWriter.OutputType
extends java.lang.Enum<JsonWriter.OutputType>


Enum Constant Summary
javascript
           
json
           
minimal
           
 
Method Summary
 java.lang.String quoteName(java.lang.String value)
           
 java.lang.String quoteValue(java.lang.String value)
           
static JsonWriter.OutputType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JsonWriter.OutputType[] 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

json

public static final JsonWriter.OutputType json

javascript

public static final JsonWriter.OutputType javascript

minimal

public static final JsonWriter.OutputType minimal
Method Detail

values

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

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

valueOf

public static JsonWriter.OutputType 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
java.lang.NullPointerException - if the argument is null

quoteValue

public java.lang.String quoteValue(java.lang.String value)

quoteName

public java.lang.String quoteName(java.lang.String value)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)