Class InlineTableValueReader

  • All Implemented Interfaces:
    ValueReader

    class InlineTableValueReader
    extends java.lang.Object
    implements ValueReader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canRead​(java.lang.String s)  
      java.lang.Object read​(java.lang.String s, java.util.concurrent.atomic.AtomicInteger sharedIndex, Context context)
      Partial validation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InlineTableValueReader

        private InlineTableValueReader()
    • Method Detail

      • canRead

        public boolean canRead​(java.lang.String s)
        Specified by:
        canRead in interface ValueReader
        Parameters:
        s - must already have been trimmed
      • read

        public java.lang.Object read​(java.lang.String s,
                                     java.util.concurrent.atomic.AtomicInteger sharedIndex,
                                     Context context)
        Description copied from interface: ValueReader
        Partial validation. Stops after type terminator, rather than at EOI.
        Specified by:
        read in interface ValueReader
        Parameters:
        s - must already have been validated by ValueReader.canRead(String)
        sharedIndex - where to start in s
        Returns:
        a value or a Results.Errors