org.w3c.tidy
Class Entity

java.lang.Object
  extended by org.w3c.tidy.Entity

public class Entity
extends java.lang.Object

HTML ISO entity.

Version:
$Revision: 779 $ ($Author: fgiust $)
Author:
Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina

Constructor Summary
Entity(java.lang.String name, int code)
          instantiates a new entity.
 
Method Summary
 short getCode()
          Getter for code.
 java.lang.String getName()
          Getter for name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity(java.lang.String name,
              int code)
instantiates a new entity.

Parameters:
name - entity name
code - entity code (will be casted to short)
Method Detail

getCode

public short getCode()
Getter for code.

Returns:
Returns the code.

getName

public java.lang.String getName()
Getter for name.

Returns:
Returns the name.


Copyright © 2000-2006 sourceforge. All Rights Reserved.