1 package org.unicode.cldr.rdf; 2 3 import org.apache.jena.sparql.lang.sparql_11.ParseException; 4 5 /** 6 * An interface for classes capable of mapping from an XPath to a Resource URI 7 * where the Resource can provide an abstract 8 * 9 * @author srl295 10 * 11 */ 12 public interface XPathMapper { 13 14 /** 15 * Add all entries to the cache 16 * @param cache 17 * @return number of new entries, or zero 18 * @throws ParseException 19 */ addEntries(AbstractCache cache)20 int addEntries(AbstractCache cache) throws ParseException; 21 22 } 23