2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.model.api;
11 * Contains methods for getting data (concrete XPath) and metadata (is XPath
12 * absolute) from XPath instance.
14 public interface RevisionAwareXPath {
17 * Returns <code>true</code> if the XPapth starts in root of Yang model,
18 * otherwise returns <code>false</code>.
20 * @return <code>true</code> if the XPapth starts in root of Yang model,
21 * otherwise returns <code>false</code>
26 * Returns the XPath formatted string as is defined in model. <br>
28 * /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf
30 * @return the XPath formatted string as is defined in model.