org.codehaus.jettison.mapped
Class MappedNamespaceConvention
java.lang.Object
org.codehaus.jettison.mapped.MappedNamespaceConvention
- All Implemented Interfaces:
- Convention
public class MappedNamespaceConvention
- extends java.lang.Object
- implements Convention
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedNamespaceConvention
public MappedNamespaceConvention()
MappedNamespaceConvention
public MappedNamespaceConvention(Configuration config)
processAttributesAndNamespaces
public void processAttributesAndNamespaces(Node n,
JSONObject object)
throws JSONException
- Specified by:
processAttributesAndNamespaces
in interface Convention
- Throws:
JSONException
createQName
public javax.xml.namespace.QName createQName(java.lang.String rootName,
Node node)
- Specified by:
createQName
in interface Convention
createAttributeKey
public java.lang.String createAttributeKey(java.lang.String p,
java.lang.String ns,
java.lang.String local)
createKey
public java.lang.String createKey(java.lang.String p,
java.lang.String ns,
java.lang.String local)
isElement
public boolean isElement(java.lang.String p,
java.lang.String ns,
java.lang.String local)
convertToJSONPrimitive
public java.lang.Object convertToJSONPrimitive(java.lang.String text)