EntityParser

Parses the doctype, stores translations of entities and performs entity substitution. Currently works only with internal entities.

Members

Functions

addEntity
void addEntity(StringType name, StringType value)

Adds an entity to the ones known by this object

parseDoctype
void parseDoctype(StringType doctype)

Parses the given doctype, adding all entity declarations to the ones already known.

substitute
StringType substitute(StringType original)

Returns the given string, after perfoming entity substitution

Meta