Package org.dom4j.util
package org.dom4j.util
A collection of utility classes for the dom4j API.
-
ClassDescription
AttributeHelper
a number of helper methods for working with attribute values.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
is an implementation ofElement
which maintains an index of the attributes and elements it contains to optimise lookups via name.NodeComparator
is aComparator
of Node instances which is capable of comparing Nodes for equality based on their values.NonLazyDocumentFactory
is a factory of XML objects which avoid using the lazy creation pattern.NonLazyElement
is the default DOM4J default implementation of an XML element.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
implements a proxy to a DocumentFactory which is useful for implementation inheritence, allowing the pipelining of various factory implementations.SimpleSingleton
is an implementation of the SingletonStrategy interface used to provide common factory access for the same object instance.SingletonStrategy
is an interface used to provide common factory access for the same object based on an implementation strategy for singleton.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
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
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
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.