1 package org.unicode.cldr.util; 2 3 /** This is an interface for a read-only XPath. */ 4 public interface XPathValue { 5 6 /** Get the nth element. Negative values are from end */ getElement(int i)7 String getElement(int i); 8 9 /** 10 * Get the attributeValue for the attrbute at the nth element (negative index is from end). 11 * Returns null if there's nothing. 12 */ getAttributeValue(int i, String string)13 String getAttributeValue(int i, String string); 14 } 15