# Package org.springframework.util.xml

@NonNullApi @NonNullFields package org.springframework.util.xml
Miscellaneous utility classes for XML parsing and transformation, such as error handlers that log warnings via Commons Logging.

Related Packages
Package
Description
org.springframework.util
Miscellaneous utility classes, such as utilities for working with strings, classes, collections, reflection, etc.
org.springframework.util.backoff
A generic back-off abstraction.
org.springframework.util.comparator
Useful generic `java.util.Comparator` implementations, such as an invertible comparator and a compound comparator.
org.springframework.util.concurrent
Useful generic `java.util.concurrent.Future` extensions.
org.springframework.util.function
Useful generic `java.util.function` helper classes.
org.springframework.util.unit
Useful unit data types.
Classes
Class
Description
DomUtils
Convenience methods for working with the DOM API, in particular for working with DOM Nodes and DOM Elements.
SimpleNamespaceContext
Simple `javax.xml.namespace.NamespaceContext` implementation.
SimpleSaxErrorHandler
Simple `org.xml.sax.ErrorHandler` implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.
SimpleTransformErrorListener
Simple `javax.xml.transform.ErrorListener` implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.
StaxUtils
Convenience methods for working with the StAX API.
TransformerUtils
Contains common behavior relating to `Transformers` and the `javax.xml.transform` package in general.
XmlValidationModeDetector
Detects whether an XML stream is using DTD- or XSD-based validation.