## Package org.dom4j.util

A collection of utility classes for the dom4j API.

See:
Description

Interface Summary
SingletonStrategy: `SingletonStrategy` is an interface used to provide common factory access for the same object based on an implementation strategy for singleton.

Class Summary
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 of `Element`which maintains an index of the attributes and elements it contains to optimise lookups via name.
NodeComparator: `NodeComparator` is a `Comparator`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: `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: `SimpleSingleton` is an implementation of the SingletonStrategy interface used to provide common factory access for the same object instance.
UserDataAttribute: `UserDataAttribute` support the adornment of a user data object on an Element or Attribute instance such that the methods `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 methods `getData()` and `setData()` 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 methods `UserDataElement.setData(Object)`will get and set the values of a user data object.
XMLErrorHandler: `XMLErrorHandler` is a SAX `ErrorHandler`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.

## Package org.dom4j.util Description

A collection of utility classes for the dom4j API.

Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.