Apache CXF API

org.apache.cxf.jaxb
Class NamespaceMapper

java.lang.Object
  extended by com.sun.xml.bind.marshaller.NamespacePrefixMapper
      extended by org.apache.cxf.jaxb.NamespaceMapper

public final class NamespaceMapper
extends com.sun.xml.bind.marshaller.NamespacePrefixMapper


Constructor Summary
NamespaceMapper(Map<String,String> nspref)
           
 
Method Summary
 String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)
           
 
Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper
getContextualNamespaceDecls, getPreDeclaredNamespaceUris, getPreDeclaredNamespaceUris2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceMapper

public NamespaceMapper(Map<String,String> nspref)
Method Detail

getPreferredPrefix

public String getPreferredPrefix(String namespaceUri,
                                 String suggestion,
                                 boolean requirePrefix)
Specified by:
getPreferredPrefix in class com.sun.xml.bind.marshaller.NamespacePrefixMapper

Apache CXF API

Apache CXF