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