Package org.dom4j.util
A collection of utility classes for the dom4j API.
- 
Interface Summary Interface Description SingletonStrategy<T> SingletonStrategyis an interface used to provide common factory access for the same object based on an implementation strategy for singleton. - 
Class Summary Class Description AttributeHelper AttributeHelpera number of helper methods for working with attribute values.IndexedDocumentFactory IndexedDocumentFactoryis 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 IndexedElementis an implementation ofElementwhich maintains an index of the attributes and elements it contains to optimise lookups via name.NodeComparator NodeComparatoris aComparatorof Node instances which is capable of comparing Nodes for equality based on their values.NonLazyDocumentFactory NonLazyDocumentFactoryis a factory of XML objects which avoid using the lazy creation pattern.NonLazyElement NonLazyElementis the default DOM4J default implementation of an XML element.PerThreadSingleton<T> PerThreadSingletonis 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 ProxyDocumentFactoryimplements a proxy to a DocumentFactory which is useful for implementation inheritence, allowing the pipelining of various factory implementations.SimpleSingleton<T> SimpleSingletonis an implementation of the SingletonStrategy interface used to provide common factory access for the same object instance.StringUtils Contains utilities related to strings.UserDataAttribute UserDataAttributesupport 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 UserDataDocumentFactoryis 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 UserDataElementsupport 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 XMLErrorHandleris a SAXErrorHandlerwhich 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.