All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.sgml.Entity

java.lang.Object
   |
   +----jp.kyasu.sgml.Entity

public class Entity
extends Object
implements Serializable
The Entity class represents the SGML entity. Refers to "ISO 8879 -- Standard Generalized Markup Language (SGML)".

Version:
14 Nov 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o Entity()
Constructs an empty entity.
 o Entity(String, String)
Constructs an entity with the specified name and text.

Method Index

 o getName()
Returns the name of this entity.
 o getText()
Returns the text of this entity.
 o setName(String)
Sets the name of this entity to be the specified name.
 o setText(String)
Sets the text of this entity to be the specified text.

Constructors

 o Entity
 public Entity()
Constructs an empty entity.

 o Entity
 public Entity(String name,
               String text)
Constructs an entity with the specified name and text.

Parameters:
name - the specified name.
text - the specified text.

Methods

 o getName
 public String getName()
Returns the name of this entity.

Returns:
the name of this entity.
 o setName
 public void setName(String name)
Sets the name of this entity to be the specified name.

Parameters:
name - the specified name.
 o getText
 public String getText()
Returns the text of this entity.

Returns:
the text of this entity.
 o setText
 public void setText(String text)
Sets the text of this entity to be the specified text.

Parameters:
text - the specified text.

All Packages  Class Hierarchy  This Package  Previous  Next  Index