Index
All Classes and Interfaces|All Packages
A
- addClass(Element, String, String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Adds given class to the elements in HTML.
- addClass(Element, String, List<String>) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Adds given class names to the elements in HTML.
- addClass(Element, String, List<String>, int) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Adds given class names to the elements in HTML.
- append(Element, String, String, int) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Append HTML elements to specified elements in the given HTML.
B
- buildElasticLunrIndex(String, String, String, String, String) - Method in class org.sentrysoftware.maven.skin.IndexTool
-
Builds and update the specified elasticlunr.js index.
C
- checkImageLinks(Element, String, String) - Method in class org.sentrysoftware.maven.skin.ImageTool
-
Check the image links in the document and make sure they refer to a file that actually exists.
- concat(List<String>, String, boolean) - Static method in class org.sentrysoftware.maven.skin.HtmlTool
-
Utility method to concatenate a String to a list of Strings.
- convertImagesToThumbnails(Element, String, String, String, int, int, String) - Method in class org.sentrysoftware.maven.skin.ImageTool
-
For all images in the document, create the corresponding thumbnail, and wrap the picture elements with the specified template.
- convertImagesToWebp(Element, String, String, String) - Method in class org.sentrysoftware.maven.skin.ImageTool
-
Upgrades all images in the specified HTML document to WEBP.
E
- ensureHeadingIds(Element) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Transforms the given HTML content by adding IDs to all heading elements (
h1-6
) that do not have one. - explicitImageSize(Element, String, String, String) - Method in class org.sentrysoftware.maven.skin.ImageTool
-
Explicitly states the width and height of each image in the specified document.
F
- fixIds(Element) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Transforms the given HTML content to replace IDs that have symbols not allowed in CSS selectors, e.g.
- fixProtocolRelativeUrls(Element) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Replace all
<a href="//...">
links with protocol-relative URLs with proper HTTPS URLs - fixTableHeads(Element) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Fixes table heads: wraps rows with
<th>
(table heading) elements into<thead>
element if they are currently in<tbody>
.
G
- getAttr(Element, String, String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Retrieves attribute value on elements in HTML.
- getLastModifiedTime(File) - Static method in class org.sentrysoftware.maven.skin.Helper
-
Returns the time of last modification of specified File in milliseconds since EPOCH.
- getLastModifiedTime(String) - Static method in class org.sentrysoftware.maven.skin.Helper
-
Returns the time of last modification of specified file in milliseconds since EPOCH.
- getLastModifiedTime(Path) - Static method in class org.sentrysoftware.maven.skin.Helper
-
Returns the time of last modification of specified Path in milliseconds since EPOCH.
H
- headingAnchorToId(Element) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Transforms the given HTML content by moving anchor (
<a name="myheading">
) names to IDs for heading elements. - Helper - Class in org.sentrysoftware.maven.skin
-
Utility class with various static helper functions.
- HtmlTool - Class in org.sentrysoftware.maven.skin
-
An Apache Velocity tool that provides utility methods to manipulate HTML code using jsoup HTML5 parser.
- HtmlTool() - Constructor for class org.sentrysoftware.maven.skin.HtmlTool
-
Create a new instance
I
- ImageTool - Class in org.sentrysoftware.maven.skin
-
Set of tools for handling images
- ImageTool() - Constructor for class org.sentrysoftware.maven.skin.ImageTool
-
Create a new instance
- IndexTool - Class in org.sentrysoftware.maven.skin
-
indexTool is a reference-able in a Velocity template.
- IndexTool() - Constructor for class org.sentrysoftware.maven.skin.IndexTool
-
Creates a new instance
O
- org.sentrysoftware.maven.skin - package org.sentrysoftware.maven.skin
P
- parseContent(String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Parses HTML fragment
- prepend(Element, String, String, int) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Prepend HTML elements to specified elements in the given HTML.
R
- readResourceAsString(String) - Static method in class org.sentrysoftware.maven.skin.Helper
-
Reads the content of a resource file and returns it as a String.
- remove(Element, String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Removes elements from HTML.
- replace(Element, String, String, int) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Replace selected elements with specified elements in the given HTML.
S
- setAttr(Element, String, String, String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Sets attribute to the given value on elements in HTML.
- slug(String) - Static method in class org.sentrysoftware.maven.skin.HtmlTool
-
Creates a slug (latin text with no whitespace or other symbols) for a longer text (i.e.
T
- text(Element, String) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Retrieves text content of the selected elements in HTML.
W
- wrap(Element, String, String, int) - Method in class org.sentrysoftware.maven.skin.HtmlTool
-
Wraps elements in HTML with the given HTML.
- writeText(File, String, Charset) - Static method in class org.sentrysoftware.maven.skin.Helper
-
Write a text file using System.lineSeparator()
All Classes and Interfaces|All Packages