com.japisoft.xmlpad.helper
Class AbstractEntityHelper
java.lang.Object
|
+--com.japisoft.xmlpad.helper.AbstractHelper
|
+--com.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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityHelper
public AbstractEntityHelper()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Helper- Overrides:
getTitle in class AbstractHelper
- Returns:
- a title for the helper popup
hasTitle
public boolean hasTitle()
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