com.japisoft.xmlpad.helper.model
Class AttributeHelper

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.model.AbstractHelper
      extended bycom.japisoft.xmlpad.helper.model.AttributeHelper
All Implemented Interfaces:
Helper

public class AttributeHelper
extends AbstractHelper

Helper for attributes

Author:
(c) 2003 JAPISOFT

Field Summary
 
Fields inherited from class com.japisoft.xmlpad.helper.model.AbstractHelper
editor, namespace, WIN
 
Constructor Summary
AttributeHelper(TagDescriptor helper)
           
 
Method Summary
protected  void fillList(SimpleNode node, javax.swing.DefaultListModel model)
           
 AttDescriptor getAttribute(java.lang.String name)
           
 AttDescriptor[] getAttributes(SimpleNode node)
           
 java.lang.String getTitle()
           
protected  boolean hasElements()
           
protected  void insertResult(XMLDocument doc, int offset, java.lang.String result, Descriptor descriptor, java.lang.String added)
           
 void prepare(java.lang.Object loc)
          Wait for a tag descriptor
 
Methods inherited from class com.japisoft.xmlpad.helper.model.AbstractHelper
dispose, getListCellRenderer, getLostCharacter, getNamespace, prepareDocumentBeforeInserting, setEditor, setLocation, setNamespace, show, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeHelper

public AttributeHelper(TagDescriptor helper)
Method Detail

prepare

public void prepare(java.lang.Object loc)
Wait for a tag descriptor


getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface Helper
Overrides:
getTitle in class AbstractHelper

hasElements

protected boolean hasElements()
Overrides:
hasElements in class AbstractHelper
Returns:
true if this helper has elements

getAttributes

public AttDescriptor[] getAttributes(SimpleNode node)

getAttribute

public AttDescriptor getAttribute(java.lang.String name)

insertResult

protected void insertResult(XMLDocument doc,
                            int offset,
                            java.lang.String result,
                            Descriptor descriptor,
                            java.lang.String added)
Overrides:
insertResult in class AbstractHelper

fillList

protected void fillList(SimpleNode node,
                        javax.swing.DefaultListModel model)
Overrides:
fillList in class AbstractHelper


Copyright © 2006 JAPISoft. All Rights Reserved.