public void clear() { for (int i = 0; i < tables.length; i++) { tables[i].clear(); } }
public final String getNamespaceFromPrefix(String prefix) { final int index = KeyIntMap.indexFor(KeyIntMap.hashHash(prefix.hashCode()), _prefixMap.length); PrefixEntry pe = _prefixMap[index]; while (pe != null) { final NamespaceEntry ne = _inScopeNamespaces[pe.prefixId]; if (prefix == ne.prefix || prefix.equals(ne.prefix)) { return ne.namespaceName; } pe = pe.next; } return null; }
protected void setReadOnlyVocabulary(SerializerVocabulary readOnlyVocabulary, boolean clear) { for (int i = 0; i < tables.length; i++) { tables[i].setReadOnlyMap(readOnlyVocabulary.tables[i], clear); } }
public final String getNamespaceFromPrefix(String prefix) { final int index = KeyIntMap.indexFor(KeyIntMap.hashHash(prefix.hashCode()), _prefixMap.length); PrefixEntry pe = _prefixMap[index]; while (pe != null) { final NamespaceEntry ne = _inScopeNamespaces[pe.prefixId]; if (prefix == ne.prefix || prefix.equals(ne.prefix)) { return ne.namespaceName; } pe = pe.next; } return null; }
protected void setReadOnlyVocabulary(SerializerVocabulary readOnlyVocabulary, boolean clear) { for (int i = 0; i < tables.length; i++) { tables[i].setReadOnlyMap(readOnlyVocabulary.tables[i], clear); } }
public void clear() { for (int i = 0; i < tables.length; i++) { tables[i].clear(); } }
public final String getNamespaceFromPrefix(String prefix) { final int index = KeyIntMap.indexFor(KeyIntMap.hashHash(prefix.hashCode()), _prefixMap.length); PrefixEntry pe = _prefixMap[index]; while (pe != null) { final NamespaceEntry ne = _inScopeNamespaces[pe.prefixId]; if (prefix == ne.prefix || prefix.equals(ne.prefix)) { return ne.namespaceName; } pe = pe.next; } return null; }
protected void setReadOnlyVocabulary(SerializerVocabulary readOnlyVocabulary, boolean clear) { for (int i = 0; i < tables.length; i++) { tables[i].setReadOnlyMap(readOnlyVocabulary.tables[i], clear); } }
public void clear() { for (int i = 0; i < tables.length; i++) { tables[i].clear(); } }
_inScopeNamespaces[0].namespaceIndex = _currentInScope[0] = 0; int index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[0].prefix.hashCode()), _prefixMap.length); _prefixMap[index] = _prefixPool; _prefixPool = _prefixPool.next; _inScopeNamespaces[1].namespaceIndex = _currentInScope[1] = 1; index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[1].prefix.hashCode()), _prefixMap.length); if (_prefixMap[index] == null) { _prefixMap[index] = _prefixPool;
_inScopeNamespaces[0].namespaceIndex = _currentInScope[0] = 0; int index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[0].prefix.hashCode()), _prefixMap.length); _prefixMap[index] = _prefixPool; _prefixPool = _prefixPool.next; _inScopeNamespaces[1].namespaceIndex = _currentInScope[1] = 1; index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[1].prefix.hashCode()), _prefixMap.length); if (_prefixMap[index] == null) { _prefixMap[index] = _prefixPool;
_inScopeNamespaces[0].namespaceIndex = _currentInScope[0] = 0; int index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[0].prefix.hashCode()), _prefixMap.length); _prefixMap[index] = _prefixPool; _prefixPool = _prefixPool.next; _inScopeNamespaces[1].namespaceIndex = _currentInScope[1] = 1; index = KeyIntMap.indexFor(KeyIntMap.hashHash(_inScopeNamespaces[1].prefix.hashCode()), _prefixMap.length); if (_prefixMap[index] == null) { _prefixMap[index] = _prefixPool;