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

All MethodsInstance MethodsAbstract Methods
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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!