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 java.lang.Object

  Represents a simple value.

- - ### Field Summary

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

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### text

          public final java.lang.String text

    - #### data

          public final java.lang.Object data

  - ### Constructor Detail

    - #### Value

          public Value(java.lang.String text,
                       java.lang.Number number)

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

    - #### Value

          public Value(java.lang.String text)

      Create string value
      Parameters:
        `text` -

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.