|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlNamespaceManager
Helper interface to facilitate namespace handling together with XmlWriter
instances.
Usually, this interface is used only internally by a suitable XmlWriter
instance
Method Summary | |
---|---|
java.lang.String |
getNamespaceOfPrefix(java.lang.String prefix)
Gets the registered XML namespace URI of prefix . |
java.lang.String |
getPrefixOfNamespace(java.lang.String ns)
Gets the registered XML prefix of ns . |
void |
popScope()
Pops a current declaration scope. |
void |
pushScope()
Pushes a current declaration scope. |
void |
redeclareLocalMapping(java.lang.String nsUri,
java.lang.String prefix)
Register a local namespace/prefix mapping. |
void |
registerLocalMapping(java.lang.String nsUri,
java.lang.String prefix)
Register a local namespace/prefix mapping. |
Method Detail |
---|
java.lang.String getPrefixOfNamespace(java.lang.String ns)
ns
.
ns
- The namespace URI for which a prefix is searched.
ns
.java.lang.String getNamespaceOfPrefix(java.lang.String prefix)
prefix
.
If the prefix is redeclared, the nearest enclosing declaration (at the time of this method call) is used.
prefix
- The prefix for which a namespace URI is searched.
prefix
.void registerLocalMapping(java.lang.String nsUri, java.lang.String prefix)
nsUri
- The namespace URIprefix
- The namespace prefix.void redeclareLocalMapping(java.lang.String nsUri, java.lang.String prefix)
nsUri
- The namespace URIprefix
- The namespace prefix.void pushScope()
void popScope()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |