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
-
Entity()
- Constructs an empty entity.
-
Entity(String, String)
- Constructs an entity with the specified name and text.
-
getName()
- Returns the name of this entity.
-
getText()
- Returns the text of this entity.
-
setName(String)
- Sets the name of this entity to be the specified name.
-
setText(String)
- Sets the text of this entity to be the specified text.
Entity
public Entity()
- Constructs an empty entity.
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.
getName
public String getName()
- Returns the name of this entity.
- Returns:
- the name of this entity.
setName
public void setName(String name)
- Sets the name of this entity to be the specified name.
- Parameters:
- name - the specified name.
getText
public String getText()
- Returns the text of this entity.
- Returns:
- the text of this entity.
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