case class HtmlUnitElement(underlying: DomElement) extends Element with Product with Serializable
- Alphabetic
- By Inheritance
- HtmlUnitElement
- Serializable
- Product
- Equals
- Element
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HtmlUnitElement(underlying: DomElement)
Type Members
- type ThisType = HtmlUnitElement
The concrete type of this
Element.The concrete type of this
Element. Should be defined in each concrete implementation as its own type.- Definition Classes
- HtmlUnitElement → Element
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attr(name: String): String
Returns the value associated with an attribute of this element.
Returns the value associated with an attribute of this element.
- name
the name of the attribute
- returns
the value associated with the given attribute.
- Definition Classes
- HtmlUnitElement → Element
- def attrs: Map[String, String]
The map of attributes of this element.
The map of attributes of this element.
- Definition Classes
- HtmlUnitElement → Element
- def childNodes: Buffer[Node]
The list of child nodes of this element.
The list of child nodes of this element.
- Definition Classes
- HtmlUnitElement → Element
- def children: Iterable[HtmlUnitElement]
The list of children of this element.
The list of children of this element.
- Definition Classes
- HtmlUnitElement → Element
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hasAttr(name: String): Boolean
Checks if an attribute is defined in this element.
Checks if an attribute is defined in this element.
- name
the name of the attribute
- returns
trueif the attribute is defined,falseotherwise
- Definition Classes
- HtmlUnitElement → Element
- def innerHtml: String
The HTML representation of the content inside this element as a string.
The HTML representation of the content inside this element as a string.
- Definition Classes
- HtmlUnitElement → Element
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def outerHtml: String
The HTML representation of this element as a string.
The HTML representation of this element as a string.
- Definition Classes
- HtmlUnitElement → Element
- def ownText: String
The text content owned by this element only, i.e.
The text content owned by this element only, i.e. without text inside children.
- Definition Classes
- HtmlUnitElement → Element
- def parent: Option[ThisType]
The element of this element.
The element of this element.
- Definition Classes
- HtmlUnitElement → Element
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def select(cssQuery: String): ElementQuery[HtmlUnitElement]
Executes a query on this element using a CSS selector.
Executes a query on this element using a CSS selector.
- returns
an
ElementQueryinstance representing the sequence of resulting elements
- Definition Classes
- HtmlUnitElement → Element
- def siblingNodes: Stream[Node]
The list of sibling nodes of this element.
The list of sibling nodes of this element.
- Definition Classes
- HtmlUnitElement → Element
- def siblings: Stream[HtmlUnitElement]
The list of siblings of this element.
The list of siblings of this element.
- Definition Classes
- HtmlUnitElement → Element
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tagName: String
The tag name of this element.
The tag name of this element.
- Definition Classes
- HtmlUnitElement → Element
- def text: String
The text content inside this element and any child nodes.
The text content inside this element and any child nodes.
- Definition Classes
- HtmlUnitElement → Element
- val underlying: DomElement
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)