|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents an interface to query namespace information.
Field Summary | |
static java.lang.String |
XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace"). |
static java.lang.String |
XMLNS_URI
XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/ |
Method Summary | |
java.lang.String |
getDeclaredPrefixAt(int index)
Returns the prefix at the specified index in the current context. |
int |
getDeclaredPrefixCount()
Return a count of all prefixes currently declared, including the default prefix if bound. |
NamespaceContext |
getParentContext()
Returns the parent namespace context or null if there is no parent context. |
java.lang.String |
getURI(java.lang.String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
Field Detail |
public static final java.lang.String XML_URI
public static final java.lang.String XMLNS_URI
Method Detail |
public java.lang.String getURI(java.lang.String prefix)
This method looks up the prefix in the current context. Use the empty string ("") for the default Namespace.
prefix
- The prefix to look up.public int getDeclaredPrefixCount()
public java.lang.String getDeclaredPrefixAt(int index)
public NamespaceContext getParentContext()
Note: This method may return the same NamespaceContext object reference. The caller is responsible for saving the declared prefix mappings before calling this method.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |