Package io.sf.carte.doc.dom
Interface NonDocumentTypeChildNode
- All Known Implementing Classes:
DOMDocument
,DOMElement
,HTMLDocument
,HTMLElement
Based on W3C's
NonDocumentTypeChildNode
interface.-
Field Summary
Fields inherited from interface 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
-
Method Summary
Modifier and TypeMethodDescriptionGets the first following sibling that is an element.Gets the first preceding sibling that is an element.Methods inherited from interface io.sf.carte.doc.dom.DOMNode
appendChild, getChildNodes, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeAllChild, removeChild, replaceChild
Methods inherited from interface org.w3c.dom.Node
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setNodeValue, setPrefix, setTextContent, setUserData
-
Method Details
-
getPreviousElementSibling
DOMElement getPreviousElementSibling()Gets the first preceding sibling that is an element.- Returns:
- the first preceding sibling that is an element, and
null
otherwise.
-
getNextElementSibling
DOMElement getNextElementSibling()Gets the first following sibling that is an element.- Returns:
- the first following sibling that is an element, and
null
otherwise.
-