public class NamespacePrefixMapperWrapper extends NamespacePrefixMapper
Purpose:This class provides an implementation of NamespacePrefixMapper that wraps an implementation of the equivalent NamespacePrefixMapper from the JAXB ReferenceImplementation This allows for backwards compatibility with the JAXB RI.
Constructor and Description |
---|
NamespacePrefixMapperWrapper(java.lang.Object prefixMapper) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix) |
java.lang.Object |
getPrefixMapper() |
supportsMediaType
public NamespacePrefixMapperWrapper(java.lang.Object prefixMapper)
public java.lang.String getPreferredPrefix(java.lang.String namespaceUri, java.lang.String suggestion, boolean requirePrefix)
getPreferredPrefix
in class NamespacePrefixMapper
public java.lang.String[] getContextualNamespaceDecls()
NamespacePrefixMapper
getContextualNamespaceDecls
in class NamespacePrefixMapper
public java.lang.String[] getPreDeclaredNamespaceUris()
NamespacePrefixMapper
getPreDeclaredNamespaceUris
in class NamespacePrefixMapper
public java.lang.String[] getPreDeclaredNamespaceUris2()
NamespacePrefixMapper
getPreDeclaredNamespaceUris2
in class NamespacePrefixMapper
public java.lang.Object getPrefixMapper()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference