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) |
protected DocumentBuilder |
documentBuilder()
Overridable factory method used to create
DocumentBuilder for parsing
XML as DOM. |
protected Document |
parse(String value) |
_deserializeEmbedded, _deserializeFromEmptyString, deserialize, findDeserializer, types
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
public abstract T _deserialize(String value, DeserializationContext ctxt)
_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–2020 FasterXML. All rights reserved.