Package org.dom4j.util
A collection of utility classes for the dom4j API.
-
Interface Summary Interface Description SingletonStrategy<T> SingletonStrategy
is an interface used to provide common factory access for the same object based on an implementation strategy for singleton. -
Class Summary Class Description AttributeHelper AttributeHelper
a number of helper methods for working with attribute values.IndexedDocumentFactory IndexedDocumentFactory
is a factory of XML objects which create indexed Element implementations to allow quicker lookup via name of Element and Attributes though at the expense of more memory used to create the name indexes.IndexedElement IndexedElement
is an implementation ofElement
which maintains an index of the attributes and elements it contains to optimise lookups via name.NodeComparator NodeComparator
is aComparator
of Node instances which is capable of comparing Nodes for equality based on their values.NonLazyDocumentFactory NonLazyDocumentFactory
is a factory of XML objects which avoid using the lazy creation pattern.NonLazyElement NonLazyElement
is the default DOM4J default implementation of an XML element.PerThreadSingleton<T> PerThreadSingleton
is an implementation of the SingletonStrategy used to provide common factory access to a single object instance based on an implementation strategy for one object instance per thread.ProxyDocumentFactory ProxyDocumentFactory
implements a proxy to a DocumentFactory which is useful for implementation inheritence, allowing the pipelining of various factory implementations.SimpleSingleton<T> SimpleSingleton
is an implementation of the SingletonStrategy interface used to provide common factory access for the same object instance.StringUtils Contains utilities related to strings.UserDataAttribute UserDataAttribute
support the adornment of a user data object on an Element or Attribute instance such that the methodsUserDataAttribute.getData()
UserDataAttribute.setData(Object)
will get and set the values of a user data object.UserDataDocumentFactory UserDataDocumentFactory
is a factory of XML objects which support the adornment of a user data object on an Element or Attribute instance such that the methodsgetData()
andsetData()
will get and set the values of a user data object.UserDataElement UserDataElement
support the adornment of a user data object on an Element or Attribute instance such that the methodsUserDataElement.getData()
UserDataElement.setData(Object)
will get and set the values of a user data object.XMLErrorHandler XMLErrorHandler
is a SAXErrorHandler
which turns the SAX parsing errors into XML so that the output can be formatted using XSLT or the errors can be included in a SOAP message.