Exemplo n.º 1
0
 /**
  * Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object
  * node. In case of Object node, field names (keys) are not included, only values. For other types
  * of nodes, returns empty iterator.
  */
 public Iterator<JsonNode> elements() {
   return EmptyIterator.instance();
 }
Exemplo n.º 2
0
 /**
  * @return Iterator that can be used to traverse all key/value pairs for object nodes; empty
  *     iterator (no contents) for other types
  */
 public Iterator<Map.Entry<String, JsonNode>> fields() {
   return EmptyIterator.instance();
 }
Exemplo n.º 3
0
 @Override
 public Iterator<String> fieldNames() {
   return EmptyIterator.instance();
 }