Package org.devacfr.maven.skins.reflow
Interface HtmlTool.IdElement
-
- Enclosing class:
- HtmlTool
public static interface HtmlTool.IdElementRepresentation of a HTML element with ID and a text content. Other such elements can be nested within.- Since:
- 1.0
- Author:
- Andrius Velykis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeadingLevel()StringgetId()Retrieves the ID of the HTML element (attributeid).List<? extends HtmlTool.IdElement>getItems()Retrieves the children of the HTML element (nested within the element).StringgetTagName()StringgetText()Retrieves the text contents of the HTML element (rendered for display).
-
-
-
Method Detail
-
getId
String getId()
Retrieves the ID of the HTML element (attributeid).- Returns:
- element
idvalue
-
getTagName
String getTagName()
- Returns:
- Returns the tag name of element.
-
getText
String getText()
Retrieves the text contents of the HTML element (rendered for display).- Returns:
- text contents of the element
-
getHeadingLevel
int getHeadingLevel()
- Returns:
- Returns the level of heading.
-
getItems
List<? extends HtmlTool.IdElement> getItems()
Retrieves the children of the HTML element (nested within the element).- Returns:
- nested items within the element
-
-