@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface NamespaceContext
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespaceForPrefix(java.lang.String prefix)
Get the namespace corresponding to a prefix in the current element context.
|
java.lang.String[] |
getNamespaces()
Returns all the namespaces active in the current context.
|
java.lang.String |
getPrefixForNamespace(java.lang.String namespace)
Get the prefix which is bound to a specified namespace in the current element context.
|
java.lang.String getNamespaceForPrefix(java.lang.String prefix)
prefix
- The prefix.null
if no mapping was found.java.lang.String getPrefixForNamespace(java.lang.String namespace)
namespace
- The namespace.null
if no mapping was found.java.lang.String[] getNamespaces()
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.