Package ro.sync.ecss.extensions.api.node
Interface AuthorParentNode
- All Superinterfaces:
AuthorNode
- All Known Subinterfaces:
AuthorDocument
,AuthorElement
,AuthorElementBaseInterface
,AuthorReferenceNode
An author parent node contains a list of children.
-
Field Summary
Fields inherited from interface ro.sync.ecss.extensions.api.node.AuthorNode
NODE_NAME_CDATA, NODE_NAME_COMMENT, NODE_NAME_DOCUMENT, NODE_NAME_PI, NODE_NAME_REFERENCE, NODE_TYPE_CDATA, NODE_TYPE_COMMENT, NODE_TYPE_DOCUMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PI, NODE_TYPE_PSEUDO_DOCTYPE, NODE_TYPE_PSEUDO_ELEMENT, NODE_TYPE_REFERENCE, NODE_TYPE_TEXT
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list with all children of this element.Get the parent element of the node.Methods inherited from interface ro.sync.ecss.extensions.api.node.AuthorNode
getContentIterator, getDisplayName, getEndOffset, getName, getNamespace, getNamespaceContext, getOwnerDocument, getParent, getStartOffset, getTextContent, getType, getXMLBaseURL, isDescendentOf
-
Method Details
-
getContentNodes
List<AuthorNode> getContentNodes()Returns the list with all children of this element.- Returns:
- The list that contains all children of this node without text nodes.
Warning: Used to iterate a node's children. Do not modify. Never
null
.
-
getParentElement
AuthorElementBaseInterface getParentElement()Get the parent element of the node. Skips nodes which should be considered as transparent when matching the CSS selectors like reference nodes.- Returns:
- The parent element, or null.
- Since:
- 13.2
-