com.japisoft.xmlpad.helper.model
Class AbstractEntityHelper
java.lang.Object
com.japisoft.xmlpad.helper.model.AbstractHelper
com.japisoft.xmlpad.helper.model.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 |
clone, equals, finalize, 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
hasTitle
public boolean hasTitle()
hasElements
protected boolean hasElements()
- Overrides:
hasElements
in class AbstractHelper
- Returns:
true
if this helper has elements
fillList
protected void fillList(SimpleNode node,
javax.swing.DefaultListModel model)
- Overrides:
fillList
in class AbstractHelper
initDefaultEntities
protected void initDefaultEntities()
- Reset gt,lt,quot,apos entities
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
getLostCharacter
protected java.lang.String getLostCharacter()
- Overrides:
getLostCharacter
in class AbstractHelper
Copyright © 2006 JAPISoft. All Rights Reserved.