Package org.htmlcleaner
Class SpecialEntities
java.lang.Object
org.htmlcleaner.SpecialEntities
This class contains map with special entities used in HTML and their unicodes.
Created by: Vladimir NikicDate: November, 2006.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSpecialEntity
(String seq) getSpecialEntityByUnicode
(int unicodeCharcode) void
put
(SpecialEntity specialEntity)
-
Field Details
-
INSTANCE
-
NON_BREAKABLE_SPACE
public static final char NON_BREAKABLE_SPACE- See Also:
-
-
Constructor Details
-
SpecialEntities
public SpecialEntities(boolean greek, boolean math)
-
-
Method Details
-
getSpecialEntity
- Parameters:
seq
- may have a leading invalid input: '&' and/or trailing ; ( those will be removed prior to comparision)- Returns:
SpecialEntity
if found.
-
getSpecialEntityByUnicode
-
put
-
getMaxEntityLength
public int getMaxEntityLength()
-