/** * Reads "namespace" elements from the catalog.xml file that correspond to isolated workspaces. * * <p>For each namespace element read, an entry of <prefix,uri> is created in a map. The default * uri is located under the empty string key. * * @return A map containing <prefix,uri> tuples. * @throws Exception If error processing "namespaces" element. */ public Map<String, String> isolatedNamespaces() throws Exception { return readNamespaces(true); }
/** * Imports namespaces and create symmetric workspaces for them * * @param factory * @param namespaces */ void importNamespaces(CatalogFactory factory, Map namespaces) { importNamespaces(factory, namespaces, false); }
public String cacheAgeMax() { Element cacheInfo = ReaderUtils.getChildElement(featureType, "cacheinfo"); if (cacheInfo != null) { try { return ReaderUtils.getAttribute(cacheInfo, "maxage", false); } catch (Exception e) { } } return null; }
public static <T> CloseableIterator<T> filter(final Iterator<T> iterator, final Filter filter) { Predicate<T> predicate = filterAdapter(filter); return filter(iterator, predicate); }
public String alias() { return ReaderUtils.getChildText(featureType, "alias"); }
public String dataStore() throws Exception { return ReaderUtils.getAttribute(featureType, "datastore", true); }
public String defaultInterpolation() throws Exception { Element supportedFormats = ReaderUtils.getChildElement(coverage, "supportedInterpolations"); return ReaderUtils.getAttribute(supportedFormats, "default", true); }
public String abstrct() { return ReaderUtils.getChildText(featureType, "abstract"); }
/** * Reads "namespace" elements from the catalog.xml file. * * <p>For each namespace element read, an entry of <prefix,uri> is created in a map. The default * uri is located under the empty string key. * * @return A map containing <prefix,uri> tuples. * @throws Exception If error processing "namespaces" element. */ public Map<String, String> namespaces() throws Exception { return readNamespaces(false); }
public String defaultStyle() throws Exception { Element styles = ReaderUtils.getChildElement(featureType, "styles"); return ReaderUtils.getAttribute(styles, "default", false); }
public String wmsPath() { return ReaderUtils.getChildText(featureType, "wmspath"); }
public String defaultStyle() throws Exception { Element styles = ReaderUtils.getChildElement(coverage, "styles"); return ReaderUtils.getAttribute(styles, "default", true); }
public String title() { return ReaderUtils.getChildText(featureType, "title"); }
public String nativeFormat() throws Exception { Element supportedFormats = ReaderUtils.getChildElement(coverage, "supportedFormats"); return ReaderUtils.getAttribute(supportedFormats, "nativeFormat", true); }
public String name() { return ReaderUtils.getChildText(coverage, "name"); }
public String description() { return ReaderUtils.getChildText(coverage, "description"); }
public String label() { return ReaderUtils.getChildText(coverage, "label"); }
public String wmsPath() { return ReaderUtils.getChildText(coverage, "wmspath"); }
public String srs() throws Exception { return ReaderUtils.getChildText(featureType, "SRS"); }
public String name() { return ReaderUtils.getChildText(featureType, "name"); }