public abstract class DOMDeserializer<T> extends FromStringDeserializer<T>
Node
or
Document
.Modifier and Type | Class and Description |
---|---|
static class |
DOMDeserializer.DocumentDeserializer |
static class |
DOMDeserializer.NodeDeserializer |
FromStringDeserializer.Std
JsonDeserializer.None
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
Modifier | Constructor and Description |
---|---|
protected |
DOMDeserializer(Class<T> cls) |
Modifier and Type | Method and Description |
---|---|
abstract T |
_deserialize(String value,
DeserializationContext ctxt)
Main method from trying to deserialize actual value from non-empty
String.
|
protected DocumentBuilder |
documentBuilder()
Overridable factory method used to create
DocumentBuilder for parsing
XML as DOM. |
protected Document |
parse(String value) |
_deserializeEmbedded, _deserializeFromEmptyString, _deserializeFromEmptyString, _deserializeFromEmptyStringDefault, _deserializeFromOther, deserialize, findDeserializer, logicalType, types
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate
_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer
deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
public abstract T _deserialize(String value, DeserializationContext ctxt)
FromStringDeserializer
_deserialize
in class FromStringDeserializer<T>
protected final Document parse(String value) throws IllegalArgumentException
IllegalArgumentException
protected DocumentBuilder documentBuilder() throws ParserConfigurationException
DocumentBuilder
for parsing
XML as DOM.ParserConfigurationException
Copyright © 2008–2021 FasterXML. All rights reserved.