Top Description Constructors Methods
org.eclipse.persistence.oxm

public abstract Class NamespacePrefixMapper

extends NamespacePrefixMapper
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.internal.oxm.record.namespaces.MapNamespacePrefixMapper, org.eclipse.persistence.internal.oxm.record.namespaces.NamespacePrefixMapperWrapper

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 Summary

AccessConstructor and Description
protected
NamespacePrefixMapper()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public boolean
supportsMediaType(MediaType mediaType)

Return true if this prefix mapper applies to the media type provided.

Inherited from org.eclipse.persistence.internal.oxm.NamespacePrefixMapper:
getContextualNamespaceDeclsgetPreDeclaredNamespaceUrisgetPreDeclaredNamespaceUris2getPreferredPrefix

Constructor Detail

NamespacePrefixMapperback to summary
protected NamespacePrefixMapper()

Default constructor.

Method Detail

supportsMediaTypeback to summary
public boolean supportsMediaType(MediaType mediaType)

Return true if this prefix mapper applies to the media type provided.