|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.common.UriTable
public class UriTable
UriTable class.
| Constructor Summary | |
|---|---|
UriTable()
Constructor for UriTable. |
|
| Method Summary | |
|---|---|
int |
add(int index,
String uri)
Add a new uri to the table. |
int |
add(String uri)
Add a new uri to the table. |
void |
addAll(String[] namespaceArray)
addAll. |
int |
getIndex(String namespaceUri)
Finds the index of the namespace URI in the table |
String |
getUri(int index)
Finds the URI with index in the table |
void |
remove(int index)
Remove the entry for the specified index |
void |
remove(String uri)
Remove the entry for the specified uri |
int |
size()
size. |
String[] |
toArray()
toArray. |
String |
toString()
toString. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UriTable()
Constructor for UriTable.
| Method Detail |
|---|
public String[] toArray()
toArray.
String objects.public String getUri(int index)
index - the index you are looking for
public int getIndex(String namespaceUri)
namespaceUri - the URI of the namespace you are looking for
public int add(String uri)
uri - The URI.
public void remove(int index)
index - a int.public void remove(String uri)
uri - a String object.
public int add(int index,
String uri)
index - The new index (use -1 to automatically use the next unused
index)uri - The URI.
IllegalArgumentException - if the index is already in usepublic void addAll(String[] namespaceArray)
addAll.
namespaceArray - an array of String objects.public String toString()
toString.
toString in class ObjectString object.public int size()
size.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||