public class DocumentAdaptor extends ElementAdaptor implements Document
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| 构造器和说明 |
|---|
DocumentAdaptor(org.jsoup.nodes.Document document) |
cloneNode, compareDocumentPosition, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getSchemaTypeInfo, getTagName, getTextContent, getUserData, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, isEqualNode, isSameNode, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, 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, waitgetElementsByTagName, getElementsByTagNameNSappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic DocumentType getDoctype()
getDoctype 在接口中 Documentpublic DOMImplementation getImplementation()
getImplementation 在接口中 Documentpublic short getNodeType()
getNodeType 在接口中 NodegetNodeType 在类中 ElementAdaptorpublic Element getDocumentElement()
getDocumentElement 在接口中 Documentpublic Element getElementById(String elementId)
getElementById 在接口中 Documentpublic String getInputEncoding()
getInputEncoding 在接口中 Documentpublic String getXmlEncoding()
getXmlEncoding 在接口中 Documentpublic boolean getXmlStandalone()
getXmlStandalone 在接口中 Documentpublic String getXmlVersion()
getXmlVersion 在接口中 Documentpublic void setXmlStandalone(boolean xmlStandalone)
throws DOMException
setXmlStandalone 在接口中 DocumentDOMExceptionpublic void setXmlVersion(String xmlVersion) throws DOMException
setXmlVersion 在接口中 DocumentDOMExceptionpublic boolean getStrictErrorChecking()
getStrictErrorChecking 在接口中 Documentpublic void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking 在接口中 Documentpublic String getDocumentURI()
getDocumentURI 在接口中 Documentpublic void setDocumentURI(String documentURI)
setDocumentURI 在接口中 Documentpublic Node adoptNode(Node source) throws DOMException
adoptNode 在接口中 DocumentDOMExceptionpublic DOMConfiguration getDomConfig()
getDomConfig 在接口中 Documentpublic void normalizeDocument()
normalizeDocument 在接口中 Documentpublic Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException
renameNode 在接口中 DocumentDOMExceptionpublic Element createElement(String tagName) throws DOMException
createElement 在接口中 DocumentDOMExceptionpublic DocumentFragment createDocumentFragment()
createDocumentFragment 在接口中 Documentpublic Text createTextNode(String data)
createTextNode 在接口中 Documentpublic Comment createComment(String data)
createComment 在接口中 Documentpublic CDATASection createCDATASection(String data) throws DOMException
createCDATASection 在接口中 DocumentDOMExceptionpublic ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException
createProcessingInstruction 在接口中 DocumentDOMExceptionpublic Attr createAttribute(String name) throws DOMException
createAttribute 在接口中 DocumentDOMExceptionpublic EntityReference createEntityReference(String name) throws DOMException
createEntityReference 在接口中 DocumentDOMExceptionpublic Node importNode(Node importedNode, boolean deep) throws DOMException
importNode 在接口中 DocumentDOMExceptionpublic Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
createElementNS 在接口中 DocumentDOMExceptionpublic Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
createAttributeNS 在接口中 DocumentDOMExceptionCopyright © 2016. All rights reserved.