|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that supports lookup of a lexical QName to get the expanded QName.
Method Summary | |
int |
getFingerprint(java.lang.String qname,
boolean useDefault,
NamePool pool)
Use this NamespaceContext to resolve a lexical QName |
java.lang.String |
getURIForPrefix(java.lang.String prefix,
boolean useDefault)
Get the namespace URI corresponding to a given prefix. |
Method Detail |
public java.lang.String getURIForPrefix(java.lang.String prefix, boolean useDefault)
prefix
- the namespace prefixuseDefault
- true if the default namespace is to be used when the
prefix is ""
public int getFingerprint(java.lang.String qname, boolean useDefault, NamePool pool) throws XPathException
qname
- the lexical QName; this must have already been lexically validateduseDefault
- true if the default namespace is to be used to resolve an unprefixed QNamepool
- the NamePool to be used
XPathException.Dynamic
- if the string is not a valid lexical QName or
if the namespace prefix has not been declared
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |