com.ebmwebsourcing.wsstar.notification.extension.utils
Class WSNotificationExtensionJAXBPrefixMapper
java.lang.Object
com.sun.xml.bind.marshaller.NamespacePrefixMapper
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionJAXBPrefixMapper
public class WSNotificationExtensionJAXBPrefixMapper
- extends com.sun.xml.bind.marshaller.NamespacePrefixMapper
This class provides a custom {Prefix/Namespace} mapping
which is substituted to the default one.
- Author:
- Thierry Déjean - eBM Websourcing
| Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper |
getPreDeclaredNamespaceUris2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
predefinedNamespaces
public java.util.Map<java.lang.String,java.lang.String> predefinedNamespaces
WSNotificationExtensionJAXBPrefixMapper
public WSNotificationExtensionJAXBPrefixMapper()
WSNotificationExtensionJAXBPrefixMapper
public WSNotificationExtensionJAXBPrefixMapper(java.lang.String[] customNamespaces)
getPreferredPrefix
public java.lang.String getPreferredPrefix(java.lang.String namespaceUri,
java.lang.String suggestion,
boolean requirePrefix)
- Specified by:
getPreferredPrefix in class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getPreDeclaredNamespaceUris
public java.lang.String[] getPreDeclaredNamespaceUris()
- Overrides:
getPreDeclaredNamespaceUris in class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getContextualNamespaceDecls
public java.lang.String[] getContextualNamespaceDecls()
- Overrides:
getContextualNamespaceDecls in class com.sun.xml.bind.marshaller.NamespacePrefixMapper
addContextualNamespaceDecls
public void addContextualNamespaceDecls(java.lang.String[] nss)
Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.