Class GlobalDynamicNamespacePrefixMapper

  • All Implemented Interfaces:
    DynamicNamespacePrefixMapper, DebugDumpable

    public class GlobalDynamicNamespacePrefixMapper
    extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
    implements DynamicNamespacePrefixMapper, DebugDumpable
    Maps namespaces to preferred prefixes. Should be used through the code to avoid generation of prefixes. Although this is usually used as singleton (static), it can also be instantiated to locally override some namespace mappings. This is useful for prefixes like "tns" (schema) or "ri" (resource schema).
    Igor Farinic, Radovan Semancik
    See Also: