Class Comparison.Detail

  • Enclosing class:
    Comparison

    public static class Comparison.Detail
    extends java.lang.Object
    The details of a target (usually some representation of an XML Node) that took part in the comparison.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String parentXPath  
      private org.w3c.dom.Node target  
      private java.lang.Object value  
      private java.lang.String xpath  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Detail​(org.w3c.dom.Node n, java.lang.String x, java.lang.Object v, java.lang.String parentX)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getParentXPath()
      XPath leading to the target's parent.
      org.w3c.dom.Node getTarget()
      The actual target.
      java.lang.Object getValue()
      The value for comparison found at the current target.
      java.lang.String getXPath()
      XPath leading to the target.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        private final org.w3c.dom.Node target
      • xpath

        private final java.lang.String xpath
      • value

        private final java.lang.Object value
      • parentXPath

        private final java.lang.String parentXPath
    • Constructor Detail

      • Detail

        private Detail​(org.w3c.dom.Node n,
                       java.lang.String x,
                       java.lang.Object v,
                       java.lang.String parentX)
    • Method Detail

      • getTarget

        public org.w3c.dom.Node getTarget()
        The actual target.
      • getXPath

        public java.lang.String getXPath()
        XPath leading to the target.
      • getValue

        public java.lang.Object getValue()
        The value for comparison found at the current target.
      • getParentXPath

        public java.lang.String getParentXPath()
        XPath leading to the target's parent.