AbstractAdapterElement extends the abstract Node type and implements the DOM Element interface.
AbstractAdapterNode is the base for childAdapters that expose a read-only view of a Java object as a DOM Node.
AdapterFactory produces Node adapters for Java object types.
This class is the most general type of adapter, utilizing reflective introspection to present a DOM view of all of the public properties of its value.
MapAdapter adapters a java.util.Map type to an XML DOM with the following structure:
ProxyAttrAdapter is a pass-through adapter for objects which already implement the Attr interface.
ProxyElementAdapter is a pass-through adapter for objects which already implement the Element interface.
A NamedNodeMap that wraps the Nodes returned in their proxies.
ProxyNodeAdapter is a read-only delegating adapter for objects which already implement the Node interface.
ProxyTextNodeAdapter is a pass-through adapter for objects which already implement the Text interface.
ServletURIResolver is a URIResolver that can retrieve resources from the servlet context using the scheme "response".
SimpleAdapterDocument adapted a Java object and presents it as a Document.
StringAdapter adapts a Java String value to a DOM Element with the specified property name containing the String's text.
XSLTResult uses XSLT to transform an action object to XML.
The new xslt view supports an extensible Java XML adapter framework that makes it easy to customize the XML rendering of objects and to incorporate structured XML text and arbitarary DOM fragments into the output.
The XSLTResult class now uses an extensible adapter factory for rendering the Struts action Java object tree to an XML DOM for consumption by the stylesheet. Users can easily register their own adapters to produce custom XML views of Java types or simply extend a default "String" adapter and return plain or XML text to be incorporated into the DOM. The new adapter mechanism is capable of proxying existing DOM trees and incorporating them into the results, so you can freely mix DOMs produced from other sources into your result tree.
A default java.util.Map adapter is also now provided to render Maps to XML.
Please see the javadoc on the AdapterFactory for more details.
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.