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)
boolean
isAlwaysExplicit()
void
registerPrefix(String namespace, String prefix, boolean defaultNamespace)
void
registerPrefixLocal(String namespace, String prefix)
void
setAlwaysExplicit(boolean alwaysExplicit)
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()
-
isAlwaysExplicit
boolean isAlwaysExplicit()
-
setAlwaysExplicit
void setAlwaysExplicit(boolean alwaysExplicit)
-
addDeclaredByDefault
void addDeclaredByDefault(String prefix)
-
-