| Property | Defined By | ||
|---|---|---|---|
| char : String
The String char value of the entity. | Entity | ||
| name : String
The String name value of the entity. | Entity | ||
| number : int
The Number value of the entity. | Entity | ||
| Method | Defined By | ||
|---|---|---|---|
Entity(char:String, name:String, number:int)
Creates a new Entity instance. | Entity | ||
toNumber():String
Returns the 'entity number' string representation of the entity. | Entity | ||
toString():String
Returns the 'entity string' representation of the entity. | Entity | ||
valueOf():String
Returns the character value of the entity. | Entity | ||
| char | property |
public var char:StringThe String char value of the entity.
| name | property |
public var name:StringThe String name value of the entity.
| number | property |
public var number:intThe Number value of the entity.
| Entity | () | Constructor |
public function Entity(char:String, name:String, number:int)Creates a new Entity instance.
Parameterschar:String — The entity character value.
| |
name:String — The entity name of the specified character.
| |
number:int — The entity number representation of the specified character.
|
| toNumber | () | method |
public function toNumber():StringReturns the 'entity number' string representation of the entity.
ReturnsString — the 'entity number' string representation of the entity.
|
| toString | () | method |
public function toString():StringReturns the 'entity string' representation of the entity.
ReturnsString — the 'entity string' representation of the entity.
|
| valueOf | () | method |
public function valueOf():StringReturns the character value of the entity.
ReturnsString — the character value of the entity.
|