Uses of Class
jodd.lagarto.dom.Node
-
Packages that use Node Package Description jodd.csselly CSSelly - CSS selector parser.jodd.csselly.selector Different CSSelector selectors.jodd.jerry Jerry - Java jQuery!jodd.lagarto.dom Lagarto DOM - create cool DOM tree with Lagarto parser.jodd.lagarto.dom.render -
-
Uses of Node in jodd.csselly
Methods in jodd.csselly with parameters of type Node Modifier and Type Method Description booleanCssSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within current results.booleanCssSelector. accept(Node node)Accepts single node.protected booleanCssSelector. matchElement(Node node)Matches element to css selector.Method parameters in jodd.csselly with type arguments of type Node Modifier and Type Method Description booleanCssSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within current results. -
Uses of Node in jodd.csselly.selector
Methods in jodd.csselly.selector with parameters of type Node Modifier and Type Method Description booleanAttributeSelector. accept(Node node)booleanPseudoClassSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within selected results.booleanPseudoClassSelector. accept(Node node)Matches node to this selector.booleanPseudoFunctionSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within selected results.booleanPseudoFunctionSelector. accept(Node node)Matches nodes with this pseudo function selector.abstract booleanPseudoClass. match(Node node)Returnstrueif node matches the pseudo-class.booleanPseudoClasses.BUTTON. match(Node node)booleanPseudoClasses.CHECKBOX. match(Node node)booleanPseudoClasses.CHECKED. match(Node node)booleanPseudoClasses.EMPTY. match(Node node)booleanPseudoClasses.EVEN. match(Node node)booleanPseudoClasses.FILE. match(Node node)booleanPseudoClasses.FIRST_CHILD. match(Node node)booleanPseudoClasses.FIRST_OF_TYPE. match(Node node)booleanPseudoClasses.FIRST. match(Node node)booleanPseudoClasses.HEADER. match(Node node)booleanPseudoClasses.IMAGE. match(Node node)booleanPseudoClasses.INPUT. match(Node node)booleanPseudoClasses.LAST_CHILD. match(Node node)booleanPseudoClasses.LAST_OF_TYPE. match(Node node)booleanPseudoClasses.LAST. match(Node node)booleanPseudoClasses.ODD. match(Node node)booleanPseudoClasses.ONLY_CHILD. match(Node node)booleanPseudoClasses.ONLY_OF_TYPE. match(Node node)booleanPseudoClasses.PARENT. match(Node node)booleanPseudoClasses.PASSWORD. match(Node node)booleanPseudoClasses.RADIO. match(Node node)booleanPseudoClasses.RESET. match(Node node)booleanPseudoClasses.ROOT. match(Node node)booleanPseudoClasses.SELECTED. match(Node node)booleanPseudoClasses.SUBMIT. match(Node node)booleanPseudoClasses.TEXT. match(Node node)abstract booleanPseudoFunction. match(Node node, E expression)Matches node using provided parsed expression.booleanPseudoFunctions.CONTAINS. match(Node node, java.lang.String expression)booleanPseudoFunctions.EQ. match(Node node, java.lang.Integer expression)booleanPseudoFunctions.GT. match(Node node, java.lang.Integer expression)booleanPseudoFunctions.HAS. match(Node node, java.util.List<java.util.List<CssSelector>> selectors)booleanPseudoFunctions.LT. match(Node node, java.lang.Integer expression)booleanPseudoFunctions.NOT. match(Node node, java.util.List<java.util.List<CssSelector>> selectors)booleanPseudoFunctions.NTH_CHILD. match(Node node, PseudoFunctionExpression expression)booleanPseudoFunctions.NTH_LAST_CHILD. match(Node node, PseudoFunctionExpression expression)booleanPseudoFunctions.NTH_LAST_OF_TYPE. match(Node node, PseudoFunctionExpression expression)booleanPseudoFunctions.NTH_OF_TYPE. match(Node node, PseudoFunctionExpression expression)booleanPseudoClass. matchInRange(java.util.List<Node> matchedResults, Node node, int index)Returnstrueif node matches the pseudo-class within current results.booleanPseudoClasses.EVEN. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.FIRST. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.LAST. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.ODD. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoFunction. matchInRange(java.util.List<Node> matchedResults, Node node, int index, E expression)Returnstrueif node matches the pseudo-class within currently matched results.booleanPseudoFunctions.EQ. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression)booleanPseudoFunctions.GT. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression)booleanPseudoFunctions.LT. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression)Method parameters in jodd.csselly.selector with type arguments of type Node Modifier and Type Method Description booleanPseudoClassSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within selected results.booleanPseudoFunctionSelector. accept(java.util.List<Node> currentResults, Node node, int index)Accepts node within selected results.booleanPseudoClass. matchInRange(java.util.List<Node> matchedResults, Node node, int index)Returnstrueif node matches the pseudo-class within current results.booleanPseudoClasses.EVEN. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.FIRST. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.LAST. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoClasses.ODD. matchInRange(java.util.List<Node> matchedResults, Node node, int index)booleanPseudoFunction. matchInRange(java.util.List<Node> matchedResults, Node node, int index, E expression)Returnstrueif node matches the pseudo-class within currently matched results.booleanPseudoFunctions.EQ. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression)booleanPseudoFunctions.GT. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression)booleanPseudoFunctions.LT. matchInRange(java.util.List<Node> matchedResults, Node node, int index, java.lang.Integer expression) -
Uses of Node in jodd.jerry
Fields in jodd.jerry declared as Node Modifier and Type Field Description protected Node[]Jerry. nodesMethods in jodd.jerry that return Node Modifier and Type Method Description Node[]Jerry. get()Retrieve all DOM elements matched by this set.NodeJerry. get(int index)Returns node at given index.Methods in jodd.jerry with parameters of type Node Modifier and Type Method Description booleanJerry.NodeList. add(Node o)protected NodeSelectorJerry. createNodeSelector(Node node)Creates node selector.intJerry. index(Node element)Searches for a givenNodefrom among the matched elements.booleanJerryNodeFunction. onNode(Node node, int index)Invoked on node.Constructors in jodd.jerry with parameters of type Node Constructor Description Jerry(Jerry parent, Node... nodes)Creates child Jerry.Jerry(Jerry parent, Node[] nodes1, Node[] nodes2)Creates child Jerry.Jerry(DOMBuilder builder, Node... nodes)Creates root Jerry.Constructor parameters in jodd.jerry with type arguments of type Node Constructor Description Jerry(Jerry parent, java.util.List<Node> nodeList)Creates child Jerry. -
Uses of Node in jodd.lagarto.dom
Subclasses of Node in jodd.lagarto.dom Modifier and Type Class Description classCDataCDATA node.classCommentComment node.classDocumentDocument node is always a root node.classDocumentTypeDocument type node.classElementTag node.classTextText node.classXmlDeclarationXML declaration node.Fields in jodd.lagarto.dom declared as Node Modifier and Type Field Description protected NodeLagartoDOMBuilderTagVisitor. parentNodeprotected NodeNode. parentNodeprotected NodeNodeMatcher. rootNodeprotected NodeNodeSelector. rootNodeFields in jodd.lagarto.dom with type parameters of type Node Modifier and Type Field Description protected java.util.List<Node>Node. childNodesMethods in jodd.lagarto.dom with type parameters of type Node Modifier and Type Method Description protected <T extends Node>
TNode. cloneTo(T dest)Copies all non-final values to the empty cloned object.Methods in jodd.lagarto.dom that return Node Modifier and Type Method Description abstract NodeNode. clone()Node[]Node. filterChildNodes(java.util.function.Predicate<Node> nodePredicate)Filters child nodes.NodeNode. findChildNodeWithName(java.lang.String name)Finds the first child node with given node name.protected NodeLagartoDOMBuilderTagVisitor. findMatchingParentOpenTag(java.lang.String tagName)Finds matching parent open tag ornullif not found.NodeNode. getChild(int index)Returns a child node at given index ornullif child doesn't exist for that index.NodeNode. getChild(int... indexes)Returns a child node with given hierarchy.Node[]Node. getChildNodes()Returns an array of all children nodes.NodeNode. getFirstChild()Returns first child ornullif no children exist.NodeNode. getLastChild()Returns last child ornullif no children exist.NodeNode. getNextSibling()Returns this node's next sibling of any type ornullif this is the last sibling.NodeNode. getNextSiblingElement()Returns this node's next element.NodeNode. getNextSiblingName()Returns this node's next element with the same name.NodeNode. getParentNode()Returns parent node ornullif no parent exist.NodeNode. getPreviousSibling()Returns this node's previous sibling of any type ornullif this is the first sibling.NodeNode. getPreviousSiblingElement()Returns this node's previous sibling of element type ornullif this is the first sibling.NodeNode. getPreviousSiblingName()Returns this node's previous sibling element with the same name.static Node[]NodeUtil. join(Node[] array1, Node[] array2)NodeNode. removeChild(int index)Removes child node at given index.NodeNodeSelector. selectFirst(java.lang.String query)Selects nodes using CSS3 selector query and returns the very first one.NodeNodeSelector. selectFirst(NodeFilter nodeFilter)Selects nodes usingnode filterand return the very first one.Methods in jodd.lagarto.dom that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>NodeSelector. select(java.lang.String query)Selects nodes using CSS3 selector query.java.util.List<Node>NodeSelector. select(java.util.Collection<java.util.List<CssSelector>> selectorsCollection)Selected nodes using pre-parsed CSS selectors.java.util.List<Node>NodeSelector. select(NodeFilter nodeFilter)Selects nodes usingnode filter.protected java.util.List<Node>NodeSelector. select(Node rootNode, java.util.List<CssSelector> selectors)Methods in jodd.lagarto.dom with parameters of type Node Modifier and Type Method Description booleanNodeFilter. accept(Node node)Test whether a specified node is acceptable in some selection process.booleanNodeListFilter. accept(java.util.List<Node> currentResults, Node node, int index)voidNode. addChild(Node node)Appends child node.voidNode. addChild(Node... nodes)Appends several child nodes at once.protected voidNode. changeOwnerDocument(Node node, Document ownerDocument)Changes owner document for given node and all its children.protected booleanNodeSelector. filter(java.util.List<Node> currentResults, Node node, CssSelector cssSelector, int index)Filter nodes.protected booleanHtmlFosterRules. findFosterNodes(Node node)Finds foster elements.protected ElementHtmlFosterRules. findLastTable(Node node)Finds the last table in stack of open elements.protected voidLagartoDOMBuilderTagVisitor. fixUnclosedTagsUpToMatchingParent(Tag tag, Node matchingParent)Fixes all unclosed tags up to matching parent.protected voidNode. initChildNodes(Node newNode)Initializes child nodes list when needed.voidNode. insertAfter(Node[] newChilds, Node refChild)Inserts several child nodes after referent node.voidNode. insertAfter(Node newChild, Node refChild)Inserts node after provided node.voidNode. insertBefore(Node[] newChilds, Node refChild)Inserts several child nodes before provided node.voidNode. insertBefore(Node newChild, Node refChild)Inserts node before provided node.voidNode. insertChild(Node[] nodes, int index)Inserts several nodes at ones.voidNode. insertChild(Node node, int index)Inserts node at given index.protected booleanHtmlFosterRules. isParentNodeOneOfFosterTableElements(Node parentNode)Returnstrueif parent node is one of the table elements.protected booleanHtmlFosterRules. isTableElement(Node node)Returnstrueif given node is a table element.static Node[]NodeUtil. join(Node[] array1, Node[] array2)voidNode. removeChild(Node childNode)Removes child node.protected voidLagartoDOMBuilderTagVisitor. removeLastChildNodeIfEmptyText(Node parentNode, boolean closedTag)Removes last child node if contains just empty text.protected java.util.List<Node>NodeSelector. select(Node rootNode, java.util.List<CssSelector> selectors)protected voidNodeSelector. selectAndAdd(Node node, CssSelector cssSelector, java.util.List<Node> result)Selects single node for single selector and appends it to the results.protected voidNodeSelector. walk(Node rootNode, CssSelector cssSelector, java.util.List<Node> result)Finds nodes in the tree that matches single selector.protected voidNodeSelector. walk(Node rootNode, NodeFilter nodeFilter, java.util.List<Node> result)Method parameters in jodd.lagarto.dom with type arguments of type Node Modifier and Type Method Description booleanNodeListFilter. accept(java.util.List<Node> currentResults, Node node, int index)protected booleanNodeSelector. filter(java.util.List<Node> currentResults, Node node, CssSelector cssSelector, int index)Filter nodes.Node[]Node. filterChildNodes(java.util.function.Predicate<Node> nodePredicate)Filters child nodes.protected voidNodeSelector. processSelectors(java.util.List<Node> results, java.util.List<CssSelector> selectors)Process selectors and keep adding results.protected voidNodeSelector. selectAndAdd(Node node, CssSelector cssSelector, java.util.List<Node> result)Selects single node for single selector and appends it to the results.protected voidNodeSelector. walk(Node rootNode, CssSelector cssSelector, java.util.List<Node> result)Finds nodes in the tree that matches single selector.protected voidNodeSelector. walk(Node rootNode, NodeFilter nodeFilter, java.util.List<Node> result)protected voidNodeSelector. walkDescendantsIteratively(java.util.LinkedList<Node> nodes, CssSelector cssSelector, java.util.List<Node> result)Walks over the child notes, maintaining the tree order and not using recursion.protected voidNodeSelector. walkDescendantsIteratively(java.util.LinkedList<Node> nodes, CssSelector cssSelector, java.util.List<Node> result)Walks over the child notes, maintaining the tree order and not using recursion.Constructors in jodd.lagarto.dom with parameters of type Node Constructor Description NodeMatcher(Node rootNode)NodeSelector(Node rootNode) -
Uses of Node in jodd.lagarto.dom.render
Methods in jodd.lagarto.dom.render with parameters of type Node Modifier and Type Method Description protected voidLagartoHtmlRendererNodeVisitor. renderAttribute(Node node, Attribute attribute, java.lang.Appendable appendable)Renders attribute.protected java.lang.StringLagartoHtmlRendererNodeVisitor. resolveAttributeName(Node node, Attribute attribute)Renders attribute name.protected java.lang.StringLagartoHtmlRendererNodeVisitor. resolveNodeName(Node node)Renders node name.java.lang.StringLagartoHtmlRenderer. toHtml(Node node, java.lang.Appendable appendable)Renders node to appendable.java.lang.StringLagartoHtmlRenderer. toInnerHtml(Node node, java.lang.Appendable appendable)Renders node children to appendable.
-