Class GsonByNameNode

  • All Implemented Interfaces:
    GsonNode, com.github.simy4.xpath.navigator.Node

    public final class GsonByNameNode
    extends java.lang.Object
    • Field Summary

      • Fields inherited from interface com.github.simy4.xpath.navigator.Node

        DOCUMENT
    • Constructor Summary

      Constructors 
      Constructor Description
      GsonByNameNode​(com.google.gson.JsonObject parentObject, java.lang.String name, GsonNode parent)
      Constructor.
    • Constructor Detail

      • GsonByNameNode

        public GsonByNameNode​(com.google.gson.JsonObject parentObject,
                              java.lang.String name,
                              GsonNode parent)
        Constructor.
        Parameters:
        parentObject - parent json object element
        name - json object key
        parent - parent node
    • Method Detail

      • getName

        public javax.xml.namespace.QName getName()
      • get

        public com.google.gson.JsonElement get()
      • set

        public void set​(com.google.gson.JsonElement jsonElement)
      • equals

        public boolean equals​(java.lang.Object o)
      • hashCode

        public int hashCode()
      • getText

        public final java.lang.String getText()
        Specified by:
        getText in interface com.github.simy4.xpath.navigator.Node
      • elements

        public final java.lang.Iterable<? extends GsonNode> elements()
        Specified by:
        elements in interface GsonNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object