org.apache.struts2.views.xslt
类 BeanAdapter
java.lang.Object
org.apache.struts2.views.xslt.AbstractAdapterNode
org.apache.struts2.views.xslt.AbstractAdapterElement
org.apache.struts2.views.xslt.BeanAdapter
- 所有已实现的接口:
- AdapterNode, Element, Node
public class BeanAdapter
- extends AbstractAdapterElement
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. For example, a property returning a JavaBean such as:
public Person getMyPerson() { ... }
...
class Person {
public String getFirstName();
public String getLastName();
}
would be rendered as: ... ...
从接口 org.w3c.dom.Node 继承的字段 |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
从类 org.apache.struts2.views.xslt.AbstractAdapterElement 继承的方法 |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getNodeName, getNodeType, getSchemaTypeInfo, hasAttribute, hasAttributeNS, hasChildNodes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
从类 org.apache.struts2.views.xslt.AbstractAdapterNode 继承的方法 |
appendChild, cloneNode, compareDocumentPosition, getAdapterFactory, getAttributes, getBaseURI, getChildAfter, getChildBefore, getChildBeforeOrAfter, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAdapterFactory, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData, toString |
从接口 org.w3c.dom.Node 继承的方法 |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
BeanAdapter
public BeanAdapter()
BeanAdapter
public BeanAdapter(AdapterFactory adapterFactory,
AdapterNode parent,
String propertyName,
Object value)
getTagName
public String getTagName()
- 指定者:
- 接口
Element
中的 getTagName
- 覆盖:
- 类
AbstractAdapterElement
中的 getTagName
getChildNodes
public NodeList getChildNodes()
- 指定者:
- 接口
Node
中的 getChildNodes
- 覆盖:
- 类
AbstractAdapterNode
中的 getChildNodes