Class Entities
- java.lang.Object
-
- org.openstreetmap.josm.data.validation.util.Entities
-
public final class Entities extends java.lang.Object
Provides HTML and XML entity utilities.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[][]
ARRAY
private static java.util.Map<java.lang.String,java.lang.String>
mapNameToValue
-
Constructor Summary
Constructors Modifier Constructor Description private
Entities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.Map<java.lang.String,java.lang.String>
getMapNameToValue()
static java.lang.String
unescape(java.lang.String str)
Returns unescaped entity representation.
-
-
-
Field Detail
-
ARRAY
private static final java.lang.String[][] ARRAY
-
mapNameToValue
private static volatile java.util.Map<java.lang.String,java.lang.String> mapNameToValue
-
-
Constructor Detail
-
Entities
private Entities()
-
-
Method Detail
-
unescape
public static java.lang.String unescape(java.lang.String str)
Returns unescaped entity representation.- Parameters:
str
- entity- Returns:
- unescaped entity representation
-
getMapNameToValue
private static java.util.Map<java.lang.String,java.lang.String> getMapNameToValue()
-
-