* A single node is read, the namespace attributes are extracted and stored.
*
* @param node to examine
- * @param attributesOnly, if true no recursion happens
+ * @param attributesOnly if true no recursion happens
*/
private void readNode(final Node node, final boolean attributesOnly) {
final NamedNodeMap attributes = node.getAttributes();
* @param prefix to search for
* @return uri
*/
+ @Override
public String getNamespaceURI(final String prefix) {
if (prefix == null || prefix.equals(XMLConstants.DEFAULT_NS_PREFIX)) {
return prefix2Uri.get(DEFAULT_NS);
* This method is not needed in this context, but can be implemented in a
* similar way.
*/
+ @Override
public String getPrefix(final String namespaceURI) {
return uri2Prefix.get(namespaceURI);
}
+ @Override
public Iterator getPrefixes(final String namespaceURI) {
// Not implemented
return null;