Class MappedNamespaceConvention
java.lang.Object
org.codehaus.jettison.mapped.MappedNamespaceConvention
- All Implemented Interfaces:
NamespaceContext, Convention
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToJSONPrimitive(String text) createAttributeKey(String p, String ns, String local) createQName(String rootName, Node node) List<?> getNamespaceURI(String prefix) getPrefixes(String arg0) Set<?> booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidprocessAttributesAndNamespaces(Node n, JSONObject object) voidsetEscapeForwardSlashAlways(boolean escapeForwardSlash)
-
Constructor Details
-
MappedNamespaceConvention
public MappedNamespaceConvention() -
MappedNamespaceConvention
-
-
Method Details
-
processAttributesAndNamespaces
- Specified by:
processAttributesAndNamespacesin interfaceConvention- Throws:
JSONException
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespaceContext
-
getPrefix
- Specified by:
getPrefixin interfaceNamespaceContext
-
getPrefixes
- Specified by:
getPrefixesin interfaceNamespaceContext
-
createQName
- Specified by:
createQNamein interfaceConvention
-
createAttributeKey
-
createKey
-
isElement
-
convertToJSONPrimitive
-
getPrimitiveArrayKeys
-
isDropRootElement
public boolean isDropRootElement() -
isRootElementArrayWrapper
public boolean isRootElementArrayWrapper() -
getIgnoredElements
-
isWriteNullAsString
public boolean isWriteNullAsString() -
isReadNullAsString
public boolean isReadNullAsString() -
isIgnoreEmptyArrayValues
public boolean isIgnoreEmptyArrayValues() -
isEscapeForwardSlashAlways
public boolean isEscapeForwardSlashAlways() -
setEscapeForwardSlashAlways
public void setEscapeForwardSlashAlways(boolean escapeForwardSlash) -
getNamespaceSeparator
-