org.apache.cxf.jaxrs.provider
Class PrefixRespectingMappedNamespaceConvention
java.lang.Object
org.codehaus.jettison.mapped.MappedNamespaceConvention
org.apache.cxf.jaxrs.provider.PrefixRespectingMappedNamespaceConvention
- All Implemented Interfaces:
- NamespaceContext, org.codehaus.jettison.Convention
public class PrefixRespectingMappedNamespaceConvention
- extends org.codehaus.jettison.mapped.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.
Methods inherited from class org.codehaus.jettison.mapped.MappedNamespaceConvention |
convertToJSONPrimitive, createAttributeKey, createQName, getNamespaceURI, getPrefix, getPrefixes, isElement, processAttributesAndNamespaces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefixRespectingMappedNamespaceConvention
public PrefixRespectingMappedNamespaceConvention(org.codehaus.jettison.mapped.Configuration c)
createKey
public String createKey(String prefix,
String ns,
String local)
- Overrides:
createKey
in class org.codehaus.jettison.mapped.MappedNamespaceConvention
Apache CXF