|
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 | |
|---|---|
String |
getNamespaceOfPrefix(String prefix)
Gets the registered XML namespace URI of prefix. |
String |
getPrefixOfNamespace(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(String nsUri,
String prefix)
Register a local namespace/prefix mapping. |
void |
registerLocalMapping(String nsUri,
String prefix)
Register a local namespace/prefix mapping. |
| Method Detail |
|---|
String getPrefixOfNamespace(String ns)
ns.
ns - The namespace URI for which a prefix is searched.
ns.String getNamespaceOfPrefix(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(String nsUri,
String prefix)
nsUri - The namespace URIprefix - The namespace prefix.
void redeclareLocalMapping(String nsUri,
String prefix)
nsUri - The namespace URIprefix - The namespace prefix.void pushScope()
void popScope()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||