Package com.evolveum.midpoint.prism.xml
Interface DynamicNamespacePrefixMapper
-
- All Superinterfaces:
DebugDumpable
- All Known Implementing Classes:
GlobalDynamicNamespacePrefixMapper
public interface DynamicNamespacePrefixMapper extends DebugDumpable
Maps namespaces to preferred prefixes. Should be used through the code to avoid generation of prefixes.- Author:
- Igor Farinic, Radovan Semancik
- See Also:
- MID-349 TODO consider removal from the Prism API
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDeclaredByDefault(String prefix)
DynamicNamespacePrefixMapper
clone()
Map<String,String>
getNamespacesDeclaredByDefault()
String
getPrefix(String namespace)
void
registerPrefix(String namespace, String prefix, boolean defaultNamespace)
void
registerPrefixLocal(String namespace, String prefix)
QName
setQNamePrefix(QName qname)
QName
setQNamePrefixExplicit(QName qname)
Makes sure that there is explicit prefix and not a default namespace prefix.-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
setQNamePrefixExplicit
QName setQNamePrefixExplicit(QName qname)
Makes sure that there is explicit prefix and not a default namespace prefix.
-
clone
DynamicNamespacePrefixMapper clone()
-
addDeclaredByDefault
void addDeclaredByDefault(String prefix)
-
-