Class JsonInMemoryParser.ObjectIterator

  • All Implemented Interfaces:
    java.util.Iterator<javax.json.stream.JsonParser.Event>
    Enclosing class:
    JsonInMemoryParser

    private class JsonInMemoryParser.ObjectIterator
    extends java.lang.Object
    implements java.util.Iterator<javax.json.stream.JsonParser.Event>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Boolean end  
      private javax.json.JsonValue jsonValue  
      private java.util.Iterator<java.util.Map.Entry<java.lang.String,​javax.json.JsonValue>> oentries  
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectIterator​(javax.json.JsonObject jo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      javax.json.stream.JsonParser.Event next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • oentries

        private final java.util.Iterator<java.util.Map.Entry<java.lang.String,​javax.json.JsonValue>> oentries
      • jsonValue

        private javax.json.JsonValue jsonValue
      • end

        private java.lang.Boolean end
    • Constructor Detail

      • ObjectIterator

        public ObjectIterator​(javax.json.JsonObject jo)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<javax.json.stream.JsonParser.Event>
      • next

        public javax.json.stream.JsonParser.Event next()
        Specified by:
        next in interface java.util.Iterator<javax.json.stream.JsonParser.Event>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<javax.json.stream.JsonParser.Event>