Package io.vertx.docgen
Class EntityUtils
- java.lang.Object
-
- io.vertx.docgen.EntityUtils
-
public final class EntityUtils extends java.lang.ObjectAn utility class to handle entities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringunescapeEntity(java.lang.String input)Computes the character represented by the given entity.
-
-
-
Method Detail
-
unescapeEntity
public static java.lang.String unescapeEntity(java.lang.String input)
Computes the character represented by the given entity. The entity can be given as#xxor asuXXXX. Other form are wrapped into `&` and `;`. This wrapping is allowed as Asciidoctor supports HTML entities, so we don't have to maintain a translation table.- Parameters:
input- the entity- Returns:
- the represented character
-
-