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) |
supportsMediaType
getContextualNamespaceDecls, getPreDeclaredNamespaceUris2
public String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)
getPreferredPrefix
in class NamespacePrefixMapper
public String[] getPreDeclaredNamespaceUris()
NamespacePrefixMapper
getPreDeclaredNamespaceUris
in class NamespacePrefixMapper
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference