org.milyn.xml
Class HTMLEntityLookup
java.lang.Object
org.milyn.xml.HTMLEntityLookup
public abstract class HTMLEntityLookup
- extends Object
- Author:
- Tom Fennelly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLEntityLookup
public HTMLEntityLookup()
getCharacterCode
public static Character getCharacterCode(String entityName)
- Get the character code for the given entity reference name.
- Parameters:
entityName - The entity name for the character code being sought.
- Returns:
- The character code for the entity, or null if it doesn't exist in
the table.
getEntityRef
public static String getEntityRef(char charCode)
- Get the entity reference name for the given character code.
- Parameters:
charCode - The character code of the entity reference name being sought.
- Returns:
- The entity reference name, or null if it doesn't exist in the
table.
Copyright © 2018. All rights reserved.