Question: All Known Implementing Classes: AnchorElement, HeadingElement, ImageElement, ListElement, ParagraphElement, TableElement, TagElement, TextElement public interface Element Represents an HTML element Method Summary All MethodsInstance MethodsAbstract Methods
All Known Implementing Classes:
AnchorElement, HeadingElement, ImageElement, ListElement, ParagraphElement, TableElement, TagElement, TextElement
public interface Element
Represents an HTML element
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String | genHTML(int indentation) Returns a string that represents the HTML associated with the element. |
Method Detail
genHTML
java.lang.String genHTML(int indentation)
Returns a string that represents the HTML associated with the element. The string is indented based on the parameter value.
Parameters:
indentation -
Returns:
HTML associated with the element.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
