|
||||||||||
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. |
java.util.Iterator |
iteratePrefixes()
Get an iterator over all the prefixes declared in this namespace context. |
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 DynamicError
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
DynamicError
- if the string is not a valid lexical QName or
if the namespace prefix has not been declaredpublic java.util.Iterator iteratePrefixes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |