|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.util.Namespaces
public final class Namespaces
Namespaces.
| Field Summary | |
|---|---|
int |
size
Number of stored namespaces. |
| Constructor Summary | |
|---|---|
Namespaces()
|
|
| Method Summary | |
|---|---|
boolean |
index(QNm name)
Indexes the specified namespace. |
byte[] |
prefix(URI uri)
Finds the specified URI and returns the prefix. |
boolean |
standard(URI uri)
Checks if the specified uri is predefined. |
URI |
uri(byte[] pre)
Finds the specified namespace uri. |
void |
uri(QNm qname)
Assigns a uri to the specified QName. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int size
| Constructor Detail |
|---|
public Namespaces()
| Method Detail |
|---|
public boolean index(QNm name)
throws XQException
name - namespace
XQException - evaluation exceptionpublic byte[] prefix(URI uri)
uri - URI
public boolean standard(URI uri)
uri - uri to be checked
public URI uri(byte[] pre)
throws XQException
pre - prefix of the namespace
XQException - evaluation exceptionpublic void uri(QNm qname)
qname - qname
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||