org.htmlcleaner
Class SpecialEntities
java.lang.Object
org.htmlcleaner.SpecialEntities
public class SpecialEntities
- extends Object
This class contains map with special entities used in HTML and their
unicodes.
Created by: Vladimir Nikic
Date: November, 2006.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SpecialEntities INSTANCE
NON_BREAKABLE_SPACE
public static final char NON_BREAKABLE_SPACE
- See Also:
- Constant Field Values
SpecialEntities
public SpecialEntities(boolean greek,
boolean math)
getSpecialEntity
public SpecialEntity getSpecialEntity(String seq)
- Parameters:
seq
- may have a leading & and/or trailing ; ( those will be removed prior to comparision)
- Returns:
SpecialEntity
if found.
getSpecialEntityByUnicode
public SpecialEntity getSpecialEntityByUnicode(int unicodeCharcode)
put
public void put(SpecialEntity specialEntity)
getMaxEntityLength
public int getMaxEntityLength()
Copyright © 2006-2014. All Rights Reserved.