@Override public void remove() throws SailException { if (_current != null) { try { _crdf.getPrefix2Namespaces().remove(_current.getKey()); } catch (DataAccessLayerException exception) { throw new SailException(exception); } } } };
@Override protected String getNamespaceInternal(final String prefix) throws SailException { if (prefix == null || prefix.isEmpty()) { return prefix; } try { return _crdf.getPrefix2Namespaces().get(prefix); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected String getNamespaceInternal(final String prefix) throws SailException { if (prefix == null || prefix.isEmpty()) { return prefix; } try { return _crdf.getPrefix2Namespaces().get(prefix); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override public void remove() throws SailException { if (_current != null) { try { _crdf.getPrefix2Namespaces().remove(_current.getKey()); } catch (DataAccessLayerException exception) { throw new SailException(exception); } } } };
@Override protected void removeNamespaceInternal(final String prefix) throws SailException { try { _crdf.getPrefix2Namespaces().remove(prefix); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected void setNamespaceInternal(final String prefix, final String name) throws SailException { try { _crdf.getPrefix2Namespaces().put(prefix, name); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected void setNamespaceInternal(final String prefix, final String name) throws SailException { try { _crdf.getPrefix2Namespaces().put(prefix, name); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected void removeNamespaceInternal(final String prefix) throws SailException { try { _crdf.getPrefix2Namespaces().remove(prefix); } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected void clearNamespacesInternal() throws SailException { try { PersistentMap<String, String> prefix2ns = _crdf.getPrefix2Namespaces(); for (String prefix : prefix2ns.keySet()) { prefix2ns.remove(prefix); } } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
@Override protected void clearNamespacesInternal() throws SailException { try { PersistentMap<String, String> prefix2ns = _crdf.getPrefix2Namespaces(); for (String prefix : prefix2ns.keySet()) { prefix2ns.remove(prefix); } } catch (DataAccessLayerException exception) { throw new SailException(exception); } }
final Iterator<Entry<String, String>> prefix2ns = _crdf.getPrefix2Namespaces().entrySet().iterator();
final Iterator<Entry<String, String>> prefix2ns = _crdf.getPrefix2Namespaces().entrySet().iterator();