Class GsonRootNode

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

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

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

        DOCUMENT
    • Constructor Summary

      Constructors 
      Constructor Description
      GsonRootNode​(com.google.gson.JsonElement root)  
    • Constructor Detail

      • GsonRootNode

        public GsonRootNode​(com.google.gson.JsonElement root)
    • 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)
                 throws com.github.simy4.xpath.XmlBuilderException
        Throws:
        com.github.simy4.xpath.XmlBuilderException
      • 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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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