Class Entity


  • @Deprecated
    public final class Entity
    extends java.lang.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
      char character
      Deprecated.
      The Unicode character corresponding to this entity.
      java.lang.CharSequence name
      Deprecated.
      The name of this entity.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      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 Detail

      • name

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

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

      • Entity

        public Entity​(java.lang.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 Detail

      • toString

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