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() |
supportsMediaTypepublic NamespacePrefixMapperWrapper(java.lang.Object prefixMapper)
public java.lang.String getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix)
getPreferredPrefix in class NamespacePrefixMapperpublic java.lang.String[] getContextualNamespaceDecls()
NamespacePrefixMappergetContextualNamespaceDecls in class NamespacePrefixMapperpublic java.lang.String[] getPreDeclaredNamespaceUris()
NamespacePrefixMappergetPreDeclaredNamespaceUris in class NamespacePrefixMapperpublic java.lang.String[] getPreDeclaredNamespaceUris2()
NamespacePrefixMappergetPreDeclaredNamespaceUris2 in class NamespacePrefixMapperpublic java.lang.Object getPrefixMapper()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference