|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.persistence.bundle.util.NamespaceIndex
public class NamespaceIndex
Implements a string index that is based on the namespace indexes of the namespace registry.
| Constructor Summary | |
|---|---|
NamespaceIndex(NamespaceRegistryImpl nsReg)
Creates a new index that uses the given namespace registry. |
|
| Method Summary | |
|---|---|
String |
indexToString(int idx)
Returns the string for a given index. |
int |
stringToIndex(String uri)
Returns the index for a given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceIndex(NamespaceRegistryImpl nsReg)
nsReg - the namespace registry| Method Detail |
|---|
public int stringToIndex(String uri)
stringToIndex in interface StringIndexuri - the string to return the index for
public String indexToString(int idx)
null is returned.
indexToString in interface StringIndexidx - the index tp returns the string for.
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||