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

## Class JsonScanner

- java.lang.Object
- - org.apache.synapse.commons.staxon.core.json.stream.impl.JsonScanner

-     public final class JsonScanner
      extends java.lang.Object

  This class is a scanner generated by JFlex 1.4.3 on 10/23/13 10:52 AM from the specification file `/home/ishan/wso2/src/pub/platform/branches/4.2.0/dependencies/staxon/1.2.0-wso2v1/core/src/main/jflex/Yylex.flex`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `JsonStreamSourceImpl.Scanner.Symbol`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonScanner(java.io.InputStream in)` Creates a new scanner.
    `JsonScanner(java.io.Reader in)` Creates a new scanner There is also a java.io.InputStream version of this constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `int` | `getCharOffset()`
    `int` | `getColumnNumber()`
    `int` | `getLineNumber()`
    `java.lang.String` | `getText()`
    `JsonStreamSourceImpl.Scanner.Symbol` | `nextSymbol()`

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

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

- - ### Constructor Detail

    - #### JsonScanner

          public JsonScanner(java.io.Reader in)

      Creates a new scanner There is also a java.io.InputStream version of this constructor.
      Parameters:
        `in` - the java.io.Reader to read input from.

    - #### JsonScanner

          public JsonScanner(java.io.InputStream in)

      Creates a new scanner. There is also java.io.Reader version of this constructor.
      Parameters:
        `in` - the java.io.Inputstream to read input from.

  - ### Method Detail

    - #### getText

          public java.lang.String getText()

    - #### nextSymbol

          public JsonStreamSourceImpl.Scanner.Symbol nextSymbol()
                                                         throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          public void close()
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getCharOffset

          public int getCharOffset()

    - #### getLineNumber

          public int getLineNumber()

    - #### getColumnNumber

          public int getColumnNumber()

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