prefixMap = new HashMap<String, String>();
}
+ /**
+ * Creation of the namespace context for use with static imports.
+ * @return Empty namespace context.
+ */
public static SimpleNamespaceContext namespaces() {
return new SimpleNamespaceContext();
}
xpath.setNamespaceContext(aContext);
}
+ /**
+ * Creation of the XPath context for use with static imports.
+ * @param aContext Namespace context
+ * @return XPath context.
+ */
public static XPathContext xpathcontext(NamespaceContext aContext) {
return new XPathContext(aContext);
}