Class NamespacePrefixMapper

java.lang.Object
org.eclipse.persistence.internal.oxm.NamespacePrefixMapper
org.eclipse.persistence.oxm.NamespacePrefixMapper
Direct Known Subclasses:
MapNamespacePrefixMapper, NamespacePrefixMapperWrapper

public abstract class NamespacePrefixMapper extends NamespacePrefixMapper

Purpose:Provides a means to customise the namespace prefixes used while marshalling An implementation of this class can be set on an instance of XMLMarshaller to allow for each instance of XMLMarshaller to use different namespace prefixes.

  • Constructor Details

    • NamespacePrefixMapper

      protected NamespacePrefixMapper()
      Default constructor.
  • Method Details

    • supportsMediaType

      public boolean supportsMediaType(MediaType mediaType)
      Return true if this prefix mapper applies to the media type provided.