public class ElementAdaptor extends NodeAdaptor implements Element
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| 构造器和说明 |
|---|
ElementAdaptor(org.jsoup.nodes.Element element) |
appendChild, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, insertBefore, isDefaultNamespace, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, insertBefore, isDefaultNamespace, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic String getTagName()
getTagName 在接口中 Elementpublic String getAttribute(String name)
getAttribute 在接口中 Elementpublic Attr getAttributeNode(String name)
getAttributeNode 在接口中 Elementpublic NodeList getElementsByTagName(String name)
getElementsByTagName 在接口中 Elementpublic boolean hasAttribute(String name)
hasAttribute 在接口中 Elementpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo 在接口中 Elementpublic String getNodeName()
getNodeName 在接口中 Nodepublic String getNodeValue() throws DOMException
getNodeValue 在接口中 NodeDOMExceptionpublic short getNodeType()
getNodeType 在接口中 Nodepublic Node getParentNode()
getParentNode 在接口中 Nodepublic NodeList getChildNodes()
getChildNodes 在接口中 Nodepublic Node getFirstChild()
getFirstChild 在接口中 Nodepublic Node getLastChild()
getLastChild 在接口中 Nodepublic Node getPreviousSibling()
getPreviousSibling 在接口中 Nodepublic Node getNextSibling()
getNextSibling 在接口中 Nodepublic NamedNodeMap getAttributes()
getAttributes 在接口中 Nodepublic String getTextContent() throws DOMException
getTextContent 在接口中 NodeDOMExceptionpublic Document getOwnerDocument()
getOwnerDocument 在接口中 Nodepublic boolean hasChildNodes()
hasChildNodes 在接口中 Nodepublic boolean hasAttributes()
hasAttributes 在接口中 Nodepublic short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition 在接口中 NodeDOMExceptionpublic boolean isSameNode(Node other)
isSameNode 在接口中 Nodepublic boolean isEqualNode(Node arg)
isEqualNode 在接口中 Nodepublic Object getUserData(String key)
getUserData 在接口中 Nodepublic void setAttribute(String name, String value) throws DOMException
setAttribute 在接口中 ElementDOMExceptionpublic void removeAttribute(String name) throws DOMException
removeAttribute 在接口中 ElementDOMExceptionpublic Attr setAttributeNode(Attr newAttr) throws DOMException
setAttributeNode 在接口中 ElementDOMExceptionpublic Attr removeAttributeNode(Attr oldAttr) throws DOMException
removeAttributeNode 在接口中 ElementDOMExceptionpublic void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException
setAttributeNS 在接口中 ElementDOMExceptionpublic void removeAttributeNS(String namespaceURI, String localName) throws DOMException
removeAttributeNS 在接口中 ElementDOMExceptionpublic Attr setAttributeNodeNS(Attr newAttr) throws DOMException
setAttributeNodeNS 在接口中 ElementDOMExceptionpublic void setIdAttribute(String name, boolean isId) throws DOMException
setIdAttribute 在接口中 ElementDOMExceptionpublic void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
setIdAttributeNS 在接口中 ElementDOMExceptionpublic void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
setIdAttributeNode 在接口中 ElementDOMExceptionpublic String getAttributeNS(String namespaceURI, String localName) throws DOMException
getAttributeNS 在接口中 ElementDOMExceptionpublic Attr getAttributeNodeNS(String namespaceURI, String localName) throws DOMException
getAttributeNodeNS 在接口中 ElementDOMExceptionpublic NodeList getElementsByTagNameNS(String namespaceURI, String localName) throws DOMException
getElementsByTagNameNS 在接口中 ElementDOMExceptionpublic boolean hasAttributeNS(String namespaceURI, String localName) throws DOMException
hasAttributeNS 在接口中 ElementDOMExceptionCopyright © 2016. All rights reserved.