package org.opendaylight.controller.yang.model.api;\r
\r
public interface RevisionAwareXPath {\r
-\r
+ \r
+ \r
+ /**\r
+ * Returns <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>.\r
+ * \r
+ * @return <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>\r
+ */\r
+ public boolean isAbsolute();\r
+ \r
+ /**\r
+ * Returns the XPath formatted string as is defined in model. \r
+ * <br>\r
+ * For example: /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf\r
+ * \r
+ * @return the XPath formatted string as is defined in model.\r
+ */\r
+ public String toString();\r
}\r