public class MapNamespacePrefixMapper extends NamespacePrefixMapper
| Constructor and Description |
|---|
MapNamespacePrefixMapper(Map<String,String> urisToPrefixes) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPreDeclaredNamespaceUris()
Returns a list of namespace uris that should be declared at the root of the xml
document being marshalled.
|
String |
getPreferredPrefix(String namespaceUri,
String suggestion,
boolean requirePrefix) |
supportsMediaTypegetContextualNamespaceDecls, getPreDeclaredNamespaceUris2public String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)
getPreferredPrefix in class NamespacePrefixMapperpublic String[] getPreDeclaredNamespaceUris()
NamespacePrefixMappergetPreDeclaredNamespaceUris in class NamespacePrefixMapperEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference