package com.l7tech.xml.xpath;

public class XpathResultNode {
   public int type = -1;
   public Object localNameHaver;
   public Object prefixHaver;
   public Object nodeNameHaver;
   public Object nodeValueHaver;

   public int getType() {
      return this.type;
   }

   public String getNodeLocalName() {
      return this.localNameHaver == null ? null : this.localNameHaver.toString();
   }

   public String getNodePrefix() {
      return this.prefixHaver == null ? null : this.prefixHaver.toString();
   }

   public String getNodeName() {
      return this.nodeNameHaver == null ? null : this.nodeNameHaver.toString();
   }

   public String getNodeValue() {
      return this.nodeValueHaver == null ? null : this.nodeValueHaver.toString();
   }
}
