de.odysseus.staxon.json.stream
Class JsonStreamSource.Value

java.lang.Object
  extended by de.odysseus.staxon.json.stream.JsonStreamSource.Value
Enclosing interface:
JsonStreamSource

public static class JsonStreamSource.Value
extends Object

Represents a simple value.


Field Summary
 Object data
           
 String text
           
 
Constructor Summary
JsonStreamSource.Value(String text)
          Create string value
JsonStreamSource.Value(String text, Number number)
          Create number value
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

public final String text

data

public final Object data
Constructor Detail

JsonStreamSource.Value

public JsonStreamSource.Value(String text,
                              Number number)
Create number value

Parameters:
text -
number -

JsonStreamSource.Value

public JsonStreamSource.Value(String text)
Create string value

Parameters:
text -
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2012. All Rights Reserved.