spring-framework / org.springframework.util.xml

Package org.springframework.util.xml

Types

DomUtils

abstract class DomUtils

Convenience methods for working with the DOM API, in particular for working with DOM Nodes and DOM Elements.

SimpleNamespaceContext

open class SimpleNamespaceContext : NamespaceContext

Simple javax.xml.namespace.NamespaceContext implementation. Follows the standard NamespaceContext contract, and is loadable via a java.util.Map or java.util.Properties object

SimpleSaxErrorHandler

open class SimpleSaxErrorHandler : ErrorHandler

Simple org.xml.sax.ErrorHandler implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.

SimpleTransformErrorListener

open class SimpleTransformErrorListener : ErrorListener

Simple javax.xml.transform.ErrorListener implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.

StaxUtils

abstract class StaxUtils

Convenience methods for working with the StAX API. Partly historic due to JAXP 1.3 compatibility; as of Spring 4.0, relying on JAXP 1.4 as included in JDK 1.6 and higher.

In particular, methods for using StAX (javax.xml.stream) in combination with the TrAX API (javax.xml.transform), and converting StAX readers/writers into SAX readers/handlers and vice-versa.

TransformerUtils

abstract class TransformerUtils

Contains common behavior relating to javax.xml.transform.Transformer, and the javax.xml.transform package in general.

XmlValidationModeDetector

open class XmlValidationModeDetector

Detects whether an XML stream is using DTD- or XSD-based validation.