public interface HtmlElementTranslator
Interface for an HTML Element translator.
| Modifier and Type | Method and Description |
|---|---|
String |
text2tmp(String input)
Translates HTML elements into a temporary representation that is not picked up by any character translator.
|
String |
tmp2target(String input)
Translates a temporary representation of HTML elements to a target representation.
|
default String |
translateHtmlElements(Object input)
Translates HTML elements found in the input to a target representation, without any temporary representation.
|
String |
translateHtmlElements(String input)
Translates HTML elements found in the input to a target representation, without any temporary representation.
|
String text2tmp(String input)
Translates HTML elements into a temporary representation that is not picked up by any character translator.
input - string to translateString tmp2target(String input)
Translates a temporary representation of HTML elements to a target representation.
input - string to translate, with temporary HTML element representationsString translateHtmlElements(String input)
Translates HTML elements found in the input to a target representation, without any temporary representation.
input - string to translatedefault String translateHtmlElements(Object input)
Translates HTML elements found in the input to a target representation, without any temporary representation.
input - object to translate (toString is used)Copyright © 2016–2017. All rights reserved.