org.apache.synapse.commons.staxon.core.json.stream

## Class JsonStreamSource.Value

- java.lang.Object
- - org.apache.synapse.commons.staxon.core.json.stream.JsonStreamSource.Value

- Enclosing interface:
    JsonStreamSource

      public static class JsonStreamSource.Value
      extends Object

  Represents a simple value.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Object` | `data`
    `String` | `text`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Value(String text)` Create string value
    `Value(String text, Number number)` Create number value

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### Value

          public Value(String text,
                       Number number)

      Create number value
      Parameters:
        `text` -
        `number` -

    - #### Value

          public Value(String text)

      Create string value
      Parameters:
        `text` -

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2005–2017 Apache Software Foundation. All rights reserved.