Class Entity

java.lang.Object
it.unimi.dsi.parser.Entity

@Deprecated public final class Entity extends Object
Deprecated.
This class is obsolete and kept around for backward compatibility only.
An SGML character entity.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final char
    Deprecated.
    The Unicode character corresponding to this entity.
    Deprecated.
    The name of this entity.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Entity(CharSequence name, char character)
    Deprecated.
    Creates a new entity with the specified name and character.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the name of this entity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      public final CharSequence name
      Deprecated.
      The name of this entity.
    • character

      public final char character
      Deprecated.
      The Unicode character corresponding to this entity.
  • Constructor Details

    • Entity

      public Entity(CharSequence name, char character)
      Deprecated.
      Creates a new entity with the specified name and character.
      Parameters:
      name - the name of the new entity.
      character - its character value.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Returns the name of this entity.
      Overrides:
      toString in class Object
      Returns:
      the name of this entity.