MCPcopy Create free account

hub / github.com/andriusvelykis/reflow-maven-skin / functions

Functions58 in github.com/andriusvelykis/reflow-maven-skin

↓ 26 callersFunctiona
()
reflow-maven-skin/src/main/resources/js/lightbox.min.js:9
↓ 14 callersMethodget
Default accessor for config properties. Instead of using {@code $config.get("myproperty")}, one can utilise Velocity fallback onto the default getter
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:264
↓ 14 callersMethodparseContent
Parses body fragment to the {@code <body>} element. @param content @return the {@code body} element of the parsed content
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:608
↓ 6 callersMethodconcat
Utility method to concatenate a String to a list of Strings. The text can be either appended or prepended. @param elements list of element
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:983
↓ 5 callersFunctionc
(a)
reflow-maven-skin/src/main/resources/js/lightbox.min.js:9
↓ 5 callersMethodgetChild
Retrieves the child node. Tests both default name and with namespace. @param parentNode @param name @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:220
↓ 5 callersMethodremove
Removes elements from HTML. @param content HTML content to modify @param selector CSS selector for elements to remove @return H
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:766
↓ 3 callersMethodanchorToId
Moves anchor name to heading id, if one does not exist. Removes the anchor. @param heading @param anchor
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:954
↓ 3 callersMethodgetLastPartition
Retrieves the last partition (as list of elements) or creates a new one if there was none before. @param partitions @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:304
↓ 3 callersMethodreplaceAll
Replaces elements in HTML. @param content HTML content to modify @param replacements Map of CSS selectors to their replacement
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:813
↓ 3 callersMethodslug
Creates a slug (latin text with no whitespace or other symbols) for a longer text (i.e. to use in URLs). @param input text to generate the
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1132
↓ 3 callersMethodtext
Retrieves text content of the selected elements in HTML. Renders the element's text as it would be displayed on the web page (including its children).
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:857
↓ 3 callersMethodvalue
Retrieves the text value of the given {@code property}, e.g. as in {@code <myprop>value</myprop>}. @param property the property of interes
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:286
↓ 2 callersMethodadaptSlug
Creates a slug but does not change capitalization. @param input @param separator @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1157
↓ 2 callersMethodextractElements
Extracts elements from the HTML content. @param content @param selector @param amount @return the remainder and a list of extracted elements. The mai
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:437
↓ 2 callersMethodouterHtml
Outputs the list of partition root elements to HTML. @param elements @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:320
↓ 2 callersMethodreplace
Replaces elements in HTML. @param content HTML content to modify @param selector CSS selector for elements to replace @param re
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:796
↓ 1 callersMethodaddClass
Adds given class names to the elements in HTML. @param content HTML content to modify @param selector CSS selector for elements
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:658
↓ 1 callersMethodfilterParents
Filters the list of elements to only contain parent elements. This is to avoid both parent and child being in the list of elements. @param elements @
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:471
↓ 1 callersMethodgenerateUniqueId
Generated a unique ID within the given set of IDs. Appends an incrementing number for duplicates. @param ids @param idBase @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1065
↓ 1 callersMethodgetKey
Should return the key under which this tool has been configured. The default is `config`. @since 1.0
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:246
↓ 1 callersMethodheadingIndex
Retrieves numeric index of a heading. @param element @return
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1224
↓ 1 callersMethodparseBodyFragment
A generic method to use jsoup parser on an arbitrary HTML body fragment. Allows writing HTML manipulations in the template without adding Java code to
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1308
↓ 1 callersMethodsetKey
Sets the key under which this tool has been configured. @since 1.0
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:234
↓ 1 callersMethodsplit
Splits the given HTML content into partitions based on the given separator selector. The separators themselves are dropped from the results. @param c
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:119
↓ 1 callersMethodwrap
Wraps elements in HTML with the given HTML. @param content HTML content to modify @param selector CSS selector for elements to
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:732
↓ 1 callersMethodwrapInner
(Element element, String html)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:406
MethodDefaultExtractResult
(List<String> extracted, String remainder)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:552
MethodHeadingItem
(String id, String text, int headingIndex)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1244
Functionb
(a)
reflow-maven-skin/src/main/resources/js/lightbox.min.js:9
Methodconfigure
{@inheritDoc} @see SafeConfig#configure(ValueParser)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:98
Methodconfigure
{@inheritDoc} @see SafeConfig#configure(ValueParser)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:88
MethodensureHeadingIds
Transforms the given HTML content by adding IDs to all heading elements ({@code h1-6}) that do not have one. <p> IDs on heading elements are used to i
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1013
Methodextract
Extracts HTML elements from the main HTML content. The result consists of the extracted HTML elements and the remainder of HTML content, with these el
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:501
MethodfixTableHeads
Fixes table heads: wraps rows with {@code <th>} (table heading) elements into {@code <thead>} element if they are currently in {@code <tbody>}. @para
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1087
MethodgetAttr
Retrieves attribute value on elements in HTML. Will return all attribute values for the selector, since there can be more than one element. @param co
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:628
MethodgetExtracted
Retrieves the extracted HTML elements. @return List of HTML of extracted elements. Can be empty if no elements found.
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:538
MethodgetExtracted
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:557
MethodgetFileId
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:349
MethodgetId
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1250
MethodgetId
Retrieves the ID of the HTML element (attribute {@code id}) @return element {@code id} value
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1280
MethodgetItems
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1260
MethodgetItems
Retrieves the children of the HTML element (nested within the element) @return nested items within the element
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1294
MethodgetProjectId
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:345
MethodgetRemainder
Retrieves the content from which elements were extracted. @return The HTML content with extracted elements removed.
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:545
MethodgetRemainder
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:562
MethodgetText
()
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1255
MethodgetText
Retrieves the text contents of the HTML element (rendered for display) @return text contents of the element
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1287
MethodheadingAnchorToId
Transforms the given HTML content by moving anchor ({@code <a name="myheading">}) names to IDs for heading elements. <p> The anchors are used to indic
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:890
MethodheadingTree
Reads all headings in the given HTML content as a hierarchy. Subsequent smaller headings are nested within bigger ones, e.g. {@code <h2>} is nested un
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:1179
Methodis
A convenience method to check if the value of the {@code property} is {@code "true"}. @param property the property of interest @return {@c
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:308
MethodisValue
A convenience method to check if the {@code property} is set to a specific value. @param property the property of interest @param value
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:341
Methodnot
A convenience method to check if the value of the {@code property} is {@code "false"}. Useful for properties that are enabled by default - checks if t
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/SkinConfigTool.java:325
MethodrelativizeLink
Resolves the link as relative to the base dir URI. <p> Relativizes only absolute links, if the link has the same scheme, host and port as the base, it
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/URITool.java:49
MethodreorderToTop
Reorders elements in HTML content so that selected elements are found at the top of the content. Can be limited to a certain amount, e.g. to bring jus
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:357
MethodsetAttr
Sets attribute to the given value on elements in HTML. @param content HTML content to set attributes on @param selector CSS sel
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:584
MethodsplitOnStarts
Splits the given HTML content into partitions based on the given separator selector. The separators are kept as first elements of the partitions. <p>
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/HtmlTool.java:140
MethodtoURI
(final String uri)
reflow-velocity-tools/src/main/java/lt/velykis/maven/skins/reflow/URITool.java:67