Modifier and Type | Method and 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 configuration
Map<String, XMLXsiTypeConverter<?>> to parse values with attribute
xsi:type="integer" as integer, xsi:type="string" as string |
Modifier and Type | Method and 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 object
|
Modifier and Type | Method and 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 configuration
Map<String, XMLXsiTypeConverter<?>> to parse values with attribute
xsi:type="integer" as integer, xsi:type="string" as string |
Copyright © 2022. All Rights Reserved.