com.japisoft.xmlpad.helper
Class AbstractEntityHelper

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.AbstractHelper
      extended bycom.japisoft.xmlpad.helper.AbstractEntityHelper
All Implemented Interfaces:
EntityHelper, Helper
Direct Known Subclasses:
DTDEntityHelper, StaticEntityHelper

public abstract class AbstractEntityHelper
extends AbstractHelper
implements EntityHelper

Basic class for managing entites. This class contains always standard gt,lt,quot,apos entities.

Author:
(c) 2003 JAPISOFT

Field Summary
 
Fields inherited from class com.japisoft.xmlpad.helper.AbstractHelper
WIN
 
Constructor Summary
AbstractEntityHelper()
           
 
Method Summary
 void addEntity(java.lang.String name, java.lang.String value)
           
 void addEntityDescriptor(EntityDescriptor entity)
          Add a new entry
 EntityDescriptor[] getEntities()
           
 void prepare(java.lang.Object loc)
          Prepare the helper at this location
 
Methods inherited from class com.japisoft.xmlpad.helper.AbstractHelper
dispose, show
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.japisoft.xmlpad.helper.Helper
dispose, show
 

Constructor Detail

AbstractEntityHelper

public AbstractEntityHelper()
Method Detail

addEntityDescriptor

public void addEntityDescriptor(EntityDescriptor entity)
Add a new entry

Specified by:
addEntityDescriptor in interface EntityHelper

addEntity

public void addEntity(java.lang.String name,
                      java.lang.String value)

getEntities

public EntityDescriptor[] getEntities()
Specified by:
getEntities in interface EntityHelper
Returns:
Available entities

prepare

public void prepare(java.lang.Object loc)
Description copied from interface: Helper
Prepare the helper at this location

Specified by:
prepare in interface Helper
Overrides:
prepare in class AbstractHelper