Package ro.sync.ecss.extensions.api.node
Interface AuthorParentNode
-
- All Superinterfaces:
AuthorNode
- All Known Subinterfaces:
AuthorDocument
,AuthorElement
,AuthorElementBaseInterface
,AuthorReferenceNode
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorParentNode extends AuthorNode
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<AuthorNode>
getContentNodes()
Returns the list with all children of this element.AuthorElementBaseInterface
getParentElement()
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 Detail
-
getContentNodes
java.util.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
-
-