2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.controller.yang.model.api;
\r
10 public interface RevisionAwareXPath {
\r
14 * Returns <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>.
\r
16 * @return <code>true</code> if the XPapth starts in root of Yang model, otherwise returns <code>false</cdoe>
\r
18 public boolean isAbsolute();
\r
21 * Returns the XPath formatted string as is defined in model.
\r
23 * For example: /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf
\r
25 * @return the XPath formatted string as is defined in model.
\r
27 public String toString();
\r