IT. Expert System.

Java Standard Edition (SE)

Entity


javax.swing.text.html.parser

Class Entity

  • All Implemented Interfaces:
    DTDConstants


    public final class Entity
    extends Object
    implements DTDConstants
    An entity is described in a DTD using the ENTITY construct. It defines the type and value of the the entity.
    See Also:
    DTD
    • Field Detail

      • type

        public int type
      • data

        public char[] data
    • Constructor Detail

      • Entity

        public Entity(String name,
                      int type,
                      char[] data)
        Creates an entity.
        Parameters:
        name - the name of the entity
        type - the type of the entity
        data - the char array of data
    • Method Detail

      • getName

        public String getName()
        Gets the name of the entity.
        Returns:
        the name of the entity, as a String
      • getType

        public int getType()
        Gets the type of the entity.
        Returns:
        the type of the entity
      • isParameter

        public boolean isParameter()
        Returns true if it is a parameter entity.
        Returns:
        true if it is a parameter entity
      • isGeneral

        public boolean isGeneral()
        Returns true if it is a general entity.
        Returns:
        true if it is a general entity
      • getData

        public char[] getData()
        Returns the data.
        Returns:
        the data
      • getString

        public String getString()
        Returns the data as a String.
        Returns:
        the data as a String
      • name2type

        public static int name2type(String nm)
        Converts nm string to the corresponding entity type. If the string does not have a corresponding entity type, returns the type corresponding to "CDATA". Valid entity types are: "PUBLIC", "CDATA", "SDATA", "PI", "STARTTAG", "ENDTAG", "MS", "MD", "SYSTEM".
        Parameters:
        nm - the string to be converted
        Returns:
        the corresponding entity type, or the type corresponding to "CDATA", if none exists


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 442 / 158871314. Delta: 0.03530 с