Package it.unimi.dsi.parser
Class Entity
- java.lang.Object
-
- it.unimi.dsi.parser.Entity
-
public final class Entity extends Object
An SGML character entity.
-
-
Field Summary
Fields Modifier and Type Field Description charcharacterThe Unicode character corresponding to this entity.CharSequencenameThe name of this entity.
-
Constructor Summary
Constructors Constructor Description Entity(CharSequence name, char character)Creates a new entity with the specified name and character.
-
-
-
Field Detail
-
name
public final CharSequence name
The name of this entity.
-
character
public final char character
The Unicode character corresponding to this entity.
-
-
Constructor Detail
-
Entity
public Entity(CharSequence name, char character)
Creates a new entity with the specified name and character.- Parameters:
name- the name of the new entity.character- its character value.
-
-