com.sun.xml.ws.security.opt.impl.util
Class WSSNamespacePrefixMapper

java.lang.Object
  extended by com.sun.xml.bind.marshaller.NamespacePrefixMapper
      extended by com.sun.xml.ws.security.opt.impl.util.WSSNamespacePrefixMapper
Direct Known Subclasses:
CanonicalNamespacePrefixMapper

public class WSSNamespacePrefixMapper
extends com.sun.xml.bind.marshaller.NamespacePrefixMapper

Author:
K.Venugopal@sun.com

Constructor Summary
WSSNamespacePrefixMapper()
          Creates a new instance of NamespacePrefixMapper
WSSNamespacePrefixMapper(boolean soap12)
          Creates a new instance of NamespacePrefixMapper
 
Method Summary
 java.lang.String[] getContextualNamespaceDecls()
           
 java.lang.String[] getPreDeclaredNamespaceUris()
           
 java.lang.String getPreferredPrefix(java.lang.String namespaceUri, java.lang.String suggestion, boolean requirePrefix)
           
 
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
 

Constructor Detail

WSSNamespacePrefixMapper

public WSSNamespacePrefixMapper()
Creates a new instance of NamespacePrefixMapper


WSSNamespacePrefixMapper

public WSSNamespacePrefixMapper(boolean soap12)
Creates a new instance of NamespacePrefixMapper

Method Detail

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


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.