Uses of Class
com.pd4ml.dom.Element
-
Packages that use Element Package Description com.pd4ml.dom The document object model of the v42 layout engine: read and change the HTML documentreadHTML()parsed, before it is written. -
-
Uses of Element in com.pd4ml.dom
Methods in com.pd4ml.dom that return Element Modifier and Type Method Description ElementElement. closest(java.lang.String selectors)This element or its nearest ancestor that matches the CSS selector (list), or null.ElementDocument. createElement(java.lang.String tagName)A new element of this document, not yet in the tree.ElementLayout. elementAt(int page, float x, float y)The innermost element at a point of a page, or null (a margin, or nothing there).ElementDocument. getBody()The<body>(or<frameset>) element, or null.ElementDocument. getDocumentElement()The root element (<html>).ElementDocument. getElementById(java.lang.String id)The first element with the id, or null.ElementElement. getFirstElementChild()ElementDocument. getHead()The<head>element, or null.ElementElement. getLastElementChild()ElementElement. getNextElementSibling()ElementNode. getParentElement()The parent if it is an element, otherwise null.ElementElement. getPreviousElementSibling()ElementDocument. querySelector(java.lang.String selectors)The first element that matches the CSS selector (list), or null.ElementElement. querySelector(java.lang.String selectors)The first descendant element that matches the CSS selector (list), or null.Methods in com.pd4ml.dom that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>Element. getChildren()The child elements (a snapshot).java.util.List<Element>Document. getElementsByClassName(java.lang.String names)The elements that have all the (space separated) class names, in document order.java.util.List<Element>Element. getElementsByClassName(java.lang.String names)The descendant elements that have all the (space separated) class names, in document order.java.util.List<Element>Document. getElementsByTagName(java.lang.String name)The elements with the tag name, in document order (*: all).java.util.List<Element>Element. getElementsByTagName(java.lang.String name)The descendant elements with the tag name, in document order (*: all).java.util.List<Element>Document. querySelectorAll(java.lang.String selectors)The elements that match the CSS selector (list), in document order.java.util.List<Element>Element. querySelectorAll(java.lang.String selectors)The descendant elements that match the CSS selector (list), in document order.Methods in com.pd4ml.dom with parameters of type Element Modifier and Type Method Description java.util.List<LayoutBox>Layout. getBoxes(Element element)The boxes of an element, in page order; empty if it is not displayed (display: none, in<head>, ...).java.lang.StringLayout. getComputedStyle(Element element, java.lang.String property)The computed value of a CSS property of an element (e.g.java.util.List<java.lang.Integer>Layout. getPages(Element element)The pages an element is on, in order; empty if it is not displayed.
-