Package de.pdark.decentxml
Class HTMLEntityResolver
- java.lang.Object
-
- de.pdark.decentxml.EntityResolver
-
- de.pdark.decentxml.HTMLEntityResolver
-
public class HTMLEntityResolver extends EntityResolver
Predefined HTML entities.Source: http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
-
-
Field Summary
-
Fields inherited from class de.pdark.decentxml.EntityResolver
AMP_ESCAPE, APOS_ESCAPE, GT_ESCAPE, LT_ESCAPE, QUOT_ESCAPE, resolveMap
-
-
Constructor Summary
Constructors Constructor Description HTMLEntityResolver()
HTMLEntityResolver(EntityResolver parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Remove all definitions from the map except the standard XML entities (<, >, ...)-
Methods inherited from class de.pdark.decentxml.EntityResolver
add, encode, expand, expandNumericEntity, getCharValidator, getParent, isDefined, resolve, setCharValidator, stripName, validateEntity
-
-
-
-
Constructor Detail
-
HTMLEntityResolver
public HTMLEntityResolver()
-
HTMLEntityResolver
public HTMLEntityResolver(EntityResolver parent)
-
-
Method Detail
-
clear
public void clear()
Description copied from class:EntityResolver
Remove all definitions from the map except the standard XML entities (<, >, ...)- Overrides:
clear
in classEntityResolver
-
-