|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.oxm.NamespacePrefixMapper
public abstract class 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 | |
---|---|
java.lang.String[] |
getContextualNamespaceDecls()
Returns a string array of prefixes and namespace uris that are already available in this context. |
java.lang.String[] |
getPreDeclaredNamespaceUris()
Returns a list of namespace uris that should be declared at the root of the xml document being marshalled. |
java.lang.String[] |
getPreDeclaredNamespaceUris2()
Returns a string array of prefixes and namespace uris to be declared at the root of the document. |
abstract java.lang.String |
getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix)
|
boolean |
supportsMediaType(MediaType mediaType)
Return true if this prefix mapper applies to the media type provided. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamespacePrefixMapper()
Method Detail |
---|
public abstract java.lang.String getPreferredPrefix(java.lang.String namespaceUri, java.lang.String suggestion, boolean requirePrefix)
public java.lang.String[] getPreDeclaredNamespaceUris()
public java.lang.String[] getPreDeclaredNamespaceUris2()
public java.lang.String[] getContextualNamespaceDecls()
public boolean supportsMediaType(MediaType mediaType)
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |