Apache CXF API

org.apache.cxf.jaxrs.provider.json.utils
Class PrefixRespectingMappedNamespaceConvention

java.lang.Object
  extended by MappedNamespaceConvention
      extended by org.apache.cxf.jaxrs.provider.json.utils.PrefixRespectingMappedNamespaceConvention

public class PrefixRespectingMappedNamespaceConvention
extends MappedNamespaceConvention

The MappedNamespaceConvention throws for any namespace that does not have a pre-configured JSON prefix, even when the caller is supplying a perfectly usable prefix via XML. This class overrides that behavior.


Constructor Summary
PrefixRespectingMappedNamespaceConvention(Configuration c)
           
 
Method Summary
 String createKey(String prefix, String ns, String local)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixRespectingMappedNamespaceConvention

public PrefixRespectingMappedNamespaceConvention(Configuration c)
Method Detail

createKey

public String createKey(String prefix,
                        String ns,
                        String local)

Apache CXF API

Apache CXF