Uses of Interface
org.json.XMLXsiTypeConverter
-
-
Uses of XMLXsiTypeConverter in org.json
Fields in org.json with type parameters of type XMLXsiTypeConverter Modifier and Type Field Description private java.util.Map<java.lang.String,XMLXsiTypeConverter<?>>
XMLParserConfiguration. xsiTypeMap
This will allow type conversion for values in XML if xsi:type attribute is definedMethods in org.json that return types with arguments of type XMLXsiTypeConverter Modifier and Type Method Description java.util.Map<java.lang.String,XMLXsiTypeConverter<?>>
XMLParserConfiguration. getXsiTypeMap()
When parsing the XML into JSON, specifies that the values with attribute xsi:type will be converted to target type defined to client in this configurationMap<String, XMLXsiTypeConverter<?>>
to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as stringMethods in org.json with parameters of type XMLXsiTypeConverter Modifier and Type Method Description static java.lang.Object
XML. stringToValue(java.lang.String string, XMLXsiTypeConverter<?> typeConverter)
This method tries to convert the given string value to the target objectMethod parameters in org.json with type arguments of type XMLXsiTypeConverter Modifier and Type Method Description XMLParserConfiguration
XMLParserConfiguration. withXsiTypeMap(java.util.Map<java.lang.String,XMLXsiTypeConverter<?>> xsiTypeMap)
When parsing the XML into JSON, specifies that the values with attribute xsi:type will be converted to target type defined to client in this configurationMap<String, XMLXsiTypeConverter<?>>
to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as stringConstructor parameters in org.json with type arguments of type XMLXsiTypeConverter Constructor Description XMLParserConfiguration(boolean keepStrings, java.lang.String cDataTagName, boolean convertNilAttributeToNull, java.util.Map<java.lang.String,XMLXsiTypeConverter<?>> xsiTypeMap, java.util.Set<java.lang.String> forceList, int maxNestingDepth, boolean closeEmptyTag)
Configure the parser to use custom settings.
-