Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.common.jaxb
Class NamespaceMapper

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

    public final class NamespaceMapper

extends com.sun.xml.bind.marshaller.NamespacePrefixMapper

Constructor Summary
`NamespaceMapper(Map<String,String> nspref)`

Method Summary
`String[]` | `getContextualNamespaceDecls()`
`String` | `getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix)`
`void` | `setContextualNamespace(String[] contextualNamespaceDecls)`

Methods inherited from class com.sun.xml.bind.marshaller.NamespacePrefixMapper
`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`

### setContextualNamespace

    public void setContextualNamespace(String[] contextualNamespaceDecls)

### getContextualNamespaceDecls

    public String[] getContextualNamespaceDecls()

  Overrides:
    `getContextualNamespaceDecls` in class `com.sun.xml.bind.marshaller.NamespacePrefixMapper`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF