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 voidaddDeclaredByDefault(String prefix)DynamicNamespacePrefixMapperclone()Map<String,String>getNamespacesDeclaredByDefault()StringgetPrefix(String namespace)voidregisterPrefix(String namespace, String prefix, boolean defaultNamespace)voidregisterPrefixLocal(String namespace, String prefix)QNamesetQNamePrefix(QName qname)QNamesetQNamePrefixExplicit(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)
 
 - 
 
 -