public class Entities
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Entities.EscapeMode |
Modifier and Type | Method and Description |
---|---|
static java.lang.Character |
getCharacterByName(java.lang.String name)
Get the Character value of the named entity
|
static boolean |
isNamedEntity(java.lang.String name)
Check if the input is a known named entity
|
public static boolean isNamedEntity(java.lang.String name)
name
- the possible entity name (e.g. "lt" or "amp"public static java.lang.Character getCharacterByName(java.lang.String name)
name
- named entity (e.g. "lt" or "amp")Copyright © 2009-2012 Jonathan Hedley. All Rights Reserved.