| Modifier and Type | Method and Description |
|---|---|
Map<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 Object |
XML.stringToValue(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(Map<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 © 2024. All rights reserved.