Class RevisionAwareXPathImpl

    • Constructor Detail

      • RevisionAwareXPathImpl

        public RevisionAwareXPathImpl​(String xpath,
                                      boolean absolute)
    • Method Detail

      • isAbsolute

        public boolean isAbsolute()
        Description copied from interface: RevisionAwareXPath
        Returns true if the XPapth starts in root of Yang model, otherwise returns false.
        Specified by:
        isAbsolute in interface RevisionAwareXPath
        Returns:
        true if the XPapth starts in root of Yang model, otherwise returns false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getOriginalString

        public String getOriginalString()
        Description copied from interface: RevisionAwareXPath
        Returns the XPath formatted string as is defined in model. For example: /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf
        Specified by:
        getOriginalString in interface RevisionAwareXPath
        Returns:
        the XPath formatted string as is defined in model.