接口 org.apache.struts2.views.xslt.AdapterNode
的使用

使用 AdapterNode 的软件包
org.apache.struts2.views.xslt 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. 
 

org.apache.struts2.views.xsltAdapterNode 的使用
 

实现 AdapterNodeorg.apache.struts2.views.xslt 中的类
 class AbstractAdapterElement
          AbstractAdapterElement extends the abstract Node type and implements the DOM Element interface.
 class AbstractAdapterNode
          AbstractAdapterNode is the base for childAdapters that expose a read-only view of a Java object as a DOM Node.
 class ArrayAdapter
           
 class BeanAdapter
          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.
 class CollectionAdapter
           
 class MapAdapter
          MapAdapter adapters a java.util.Map type to an XML DOM with the following structure: ...
 class ProxyAttrAdapter
          ProxyAttrAdapter is a pass-through adapter for objects which already implement the Attr interface.
 class ProxyElementAdapter
          ProxyElementAdapter is a pass-through adapter for objects which already implement the Element interface.
 class ProxyNodeAdapter
          ProxyNodeAdapter is a read-only delegating adapter for objects which already implement the Node interface.
 class ProxyTextNodeAdapter
          ProxyTextNodeAdapter is a pass-through adapter for objects which already implement the Text interface.
 class SimpleAdapterDocument
          SimpleAdapterDocument adapted a Java object and presents it as a Document.
 class SimpleTextNode
           
 class StringAdapter
          StringAdapter adapts a Java String value to a DOM Element with the specified property name containing the String's text.
 

返回 AdapterNodeorg.apache.struts2.views.xslt 中的方法
 AdapterNode AdapterNode.getParent()
          The parent adapter node of this node.
 AdapterNode AbstractAdapterNode.getParent()
           
 

参数类型为 AdapterNodeorg.apache.struts2.views.xslt 中的方法
 Node AdapterFactory.adaptNode(AdapterNode parent, String propertyName, Object value)
          Create an Node adapter for a child element.
 Node AdapterFactory.adaptNullValue(AdapterNode parent, String propertyName)
          Create an appropriate adapter for a null value.
 NamedNodeMap AdapterFactory.proxyNamedNodeMap(AdapterNode parent, NamedNodeMap nnm)
           
 Node AdapterFactory.proxyNode(AdapterNode parent, Node node)
          Construct a proxy adapter for a value that is an existing DOM Node.
 void AdapterNode.setParent(AdapterNode parent)
          The parent adapter node of this node.
 void AbstractAdapterNode.setParent(AdapterNode parent)
           
 

参数类型为 AdapterNodeorg.apache.struts2.views.xslt 中的构造方法
ArrayAdapter(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, Object value)
           
BeanAdapter(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, Object value)
           
CollectionAdapter(AdapterFactory rootAdapterFactory, AdapterNode parent, String propertyName, Object value)
           
MapAdapter(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, Map value)
           
ProxyAttrAdapter(AdapterFactory factory, AdapterNode parent, Attr value)
           
ProxyElementAdapter(AdapterFactory factory, AdapterNode parent, Element value)
           
ProxyNamedNodeMap(AdapterFactory factory, AdapterNode parent, NamedNodeMap nodes)
           
ProxyNodeAdapter(AdapterFactory factory, AdapterNode parent, Node value)
           
ProxyTextNodeAdapter(AdapterFactory factory, AdapterNode parent, Text value)
           
SimpleAdapterDocument(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, Object value)
           
SimpleTextNode(AdapterFactory rootAdapterFactory, AdapterNode parent, String propertyName, Object value)
           
StringAdapter(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, String value)