public class AttributeAdaptor extends NodeAdaptor implements Attr
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| Constructor and Description |
|---|
AttributeAdaptor(org.jsoup.nodes.Attribute attribute,
org.jsoup.nodes.Element element) |
| Modifier and Type | Method and Description |
|---|---|
Node |
cloneNode(boolean deep) |
short |
compareDocumentPosition(Node other) |
NamedNodeMap |
getAttributes() |
NodeList |
getChildNodes() |
Node |
getFirstChild() |
Node |
getLastChild() |
String |
getName() |
Node |
getNextSibling() |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
Document |
getOwnerDocument() |
Element |
getOwnerElement() |
Node |
getParentNode() |
Node |
getPreviousSibling() |
TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
String |
getTextContent() |
Object |
getUserData(String key) |
String |
getValue() |
boolean |
hasAttributes() |
boolean |
hasChildNodes() |
boolean |
isEqualNode(Node arg) |
boolean |
isId() |
boolean |
isSameNode(Node other) |
void |
setValue(String value) |
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 AttributeAdaptor(org.jsoup.nodes.Attribute attribute,
org.jsoup.nodes.Element element)
public boolean getSpecified()
getSpecified in interface Attrpublic void setValue(String value) throws DOMException
setValue in interface AttrDOMExceptionpublic Element getOwnerElement()
getOwnerElement in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attrpublic String getNodeName()
getNodeName in interface Nodepublic String getNodeValue() throws DOMException
getNodeValue in interface NodeDOMExceptionpublic short getNodeType()
getNodeType in interface Nodepublic Node getParentNode()
getParentNode in interface Nodepublic NodeList getChildNodes()
getChildNodes in interface Nodepublic Node getFirstChild()
getFirstChild in interface Nodepublic Node getLastChild()
getLastChild in interface Nodepublic Node getPreviousSibling()
getPreviousSibling in interface Nodepublic Node getNextSibling()
getNextSibling in interface Nodepublic NamedNodeMap getAttributes()
getAttributes in interface Nodepublic Document getOwnerDocument()
getOwnerDocument in interface Nodepublic boolean hasChildNodes()
hasChildNodes in interface Nodepublic boolean hasAttributes()
hasAttributes in interface Nodepublic short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionpublic String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic Object getUserData(String key)
getUserData in interface NodeCopyright © 2023. All rights reserved.