Note
in Jackson 2.x this was named FromXmlParser.Feature.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| public static final XmlReadFeature | AUTO_DETECT_XSI_TYPE
Feature that enables automatic conversion of incoming "xsi:type"
(where "type" is the local name and "xsi" prefix is bound to URI
|
| public static final XmlReadFeature | EMPTY_ELEMENT_AS_NULL
Feature that indicates whether empty XML elements
(both empty tags like |
| public static final XmlReadFeature | PROCESS_XSI_NIL
Feature that indicates whether XML Schema Instance attribute
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | collectDefaults()
Method that calculates bit set (flags) of all features that are enabled by default. |
| public boolean | enabledByDefault()
Implements tools. Accessor for checking whether this feature is enabled by default. |
| public boolean | enabledIn(int flags)
Implements tools. Convenience method for checking whether feature is enabled in given bitmask. |
| public int | getMask()
Implements tools. Returns bit mask for this feature instance; must be a single bit,
that is of form |
| public static XmlReadFeature | |
| public static XmlReadFeature[] |
| _defaultState | back to summary |
|---|---|
| private final boolean _defaultState | |
| _mask | back to summary |
|---|---|
| private final int _mask | |
| AUTO_DETECT_XSI_TYPE | back to summary |
|---|---|
| public static final XmlReadFeature AUTO_DETECT_XSI_TYPE Feature that enables automatic conversion of incoming "xsi:type"
(where "type" is the local name and "xsi" prefix is bound to URI
Default setting is | |
| EMPTY_ELEMENT_AS_NULL | back to summary |
|---|---|
| public static final XmlReadFeature EMPTY_ELEMENT_AS_NULL Feature that indicates whether empty XML elements
(both empty tags like Note in Jackson 2.x, only "true" empty tags were affected, not split ones. With 3.x both cases handled uniformly.
Default setting is | |
| PROCESS_XSI_NIL | back to summary |
|---|---|
| public static final XmlReadFeature PROCESS_XSI_NIL Feature that indicates whether XML Schema Instance attribute
Default setting is | |
| XmlReadFeature | back to summary |
|---|---|
| private XmlReadFeature(boolean defaultState) | |
| collectDefaults | back to summary |
|---|---|
| public static int collectDefaults() Method that calculates bit set (flags) of all features that are enabled by default. | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() Implements tools. Doc from tools. Accessor for checking whether this feature is enabled by default.
| |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) Implements tools. Doc from tools. Convenience method for checking whether feature is enabled in given bitmask.
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements tools. Doc from tools. Returns bit mask for this feature instance; must be a single bit,
that is of form
| |
| valueOf | back to summary |
|---|---|
| public static XmlReadFeature valueOf(String name) | |
| values | back to summary |
|---|---|
| public static XmlReadFeature[] values() | |