EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.oxm
Class NamespacePrefixMapper

java.lang.Object
  extended by org.eclipse.persistence.internal.oxm.NamespacePrefixMapper
      extended by org.eclipse.persistence.oxm.NamespacePrefixMapper

public abstract class NamespacePrefixMapper
extends org.eclipse.persistence.internal.oxm.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 Summary
NamespacePrefixMapper()
           
 
Method Summary
 boolean supportsMediaType(MediaType mediaType)
          Return true if this prefix mapper applies to the media type provided.
 
Methods inherited from class org.eclipse.persistence.internal.oxm.NamespacePrefixMapper
getContextualNamespaceDecls, getPreDeclaredNamespaceUris, getPreDeclaredNamespaceUris2, getPreferredPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespacePrefixMapper

public NamespacePrefixMapper()
Method Detail

supportsMediaType

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


EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference