| Constructor and Description |
|---|
QNm()
Empty constructor.
|
QNm(byte[] n)
Constructor.
|
QNm(byte[] n,
byte[] u)
Constructor.
|
QNm(byte[] n,
QueryContext ctx)
Constructor, binding a statically known namespace.
|
QNm(javax.xml.namespace.QName qn)
Constructor for converting a Java QName.
|
QNm(java.lang.String n)
Constructor.
|
QNm(java.lang.String n,
byte[] u)
Constructor.
|
QNm(java.lang.String n,
java.lang.String u)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
int |
diff(InputInfo ii,
Item it)
Returns the difference between the current and the specified item.
|
boolean |
eq(InputInfo ii,
Item it)
Checks the items for equality.
|
boolean |
eq(QNm n)
Compares the specified item.
|
byte[] |
eqname()
Returns the EQName notation.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
boolean |
hasPrefix()
Checks if the name contains a prefix.
|
boolean |
hasURI()
Checks if the URI of this QName has been explicitly set.
|
byte[] |
local()
Returns the local name.
|
byte[] |
prefix()
Returns the prefix.
|
byte[] |
string()
Returns the string value.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
javax.xml.namespace.QName |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
byte[] |
uri()
Returns the URI of this QName.
|
void |
uri(byte[] u)
Sets the URI of this QName.
|
byte[] |
xdmInfo()
Returns meta data on the current item.
|
comparable, dbl, dec, ebv, equiv, flt, homogenous, input, isItem, item, itemAt, iter, iterable, itr, plan, score, score, serialize, size, test, type, writeTocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCalls, sameAspublic QNm()
public QNm(byte[] n)
n - namepublic QNm(java.lang.String n)
n - namepublic QNm(byte[] n, byte[] u)
n - nameu - namespace URIpublic QNm(java.lang.String n, byte[] u)
n - nameu - namespace URIpublic QNm(java.lang.String n, java.lang.String u)
n - nameu - namespace URIpublic QNm(byte[] n, QueryContext ctx)
null.n - namectx - query contextpublic QNm(javax.xml.namespace.QName qn)
qn - qnamepublic void uri(byte[] u)
u - the uri to be setpublic byte[] uri()
public boolean hasURI()
public byte[] string(InputInfo ii)
Itempublic byte[] string()
public boolean bool(InputInfo ii) throws QueryException
Itembool in class Itemii - input infoQueryException - query exceptionpublic boolean eq(InputInfo ii, Item it)
Itempublic boolean eq(QNm n)
n - name to be comparedpublic int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic boolean hasPrefix()
public byte[] prefix()
public byte[] local()
public javax.xml.namespace.QName toJava()
Valuepublic byte[] eqname()
public int hash(InputInfo ii) throws QueryException
Valuehash in class Itemii - input infoQueryException - if atomization can't be applied (e.g. function item)public byte[] xdmInfo()
Item