com.japisoft.xmlpad.helper.handler.schema
Class AttributeValueHandler

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.handler.AbstractHelperHandler
      extended bycom.japisoft.xmlpad.helper.handler.schema.AttributeValueHandler

public class AttributeValueHandler
extends AbstractHelperHandler

Common handler for attribute values handler


Field Summary
 
Fields inherited from class com.japisoft.xmlpad.helper.handler.AbstractHelperHandler
descriptors
 
Constructor Summary
AttributeValueHandler(AbstractTagHandler handler)
           
 
Method Summary
 void dispose()
           
protected  java.lang.String getActivatorSequence()
           
 java.lang.String getName()
           
 int getPriority()
          Here a way to change the order of the handler
 java.lang.String getTitle()
           
 boolean hasDelegateForInsertingResult()
          Give information if this helper can managed the result inserting.
 boolean haveDescriptors(SimpleNode currentNode, XMLDocument document, boolean insertBefore, int offset, java.lang.String activatorString)
           
 void insertResult(XMLDocument document, int offset, java.lang.String result)
          Only if the hasDelegateForInsertingResult is true
protected  void installDescriptors(XMLDocument document, int offset, java.lang.String activatorString)
           
 
Methods inherited from class com.japisoft.xmlpad.helper.handler.AbstractHelperHandler
addDescriptor, flushDescriptors, getDefaultIcon, getType, isEnabled, match, mustBeJobSynchronized, removeDescriptor, resolveContentAssistant, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValueHandler

public AttributeValueHandler(AbstractTagHandler handler)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class AbstractHelperHandler

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class AbstractHelperHandler

getPriority

public int getPriority()
Description copied from class: AbstractHelperHandler
Here a way to change the order of the handler

Overrides:
getPriority in class AbstractHelperHandler

getActivatorSequence

protected java.lang.String getActivatorSequence()
Specified by:
getActivatorSequence in class AbstractHelperHandler

getName

public java.lang.String getName()
Overrides:
getName in class AbstractHelperHandler

haveDescriptors

public boolean haveDescriptors(SimpleNode currentNode,
                               XMLDocument document,
                               boolean insertBefore,
                               int offset,
                               java.lang.String activatorString)
Specified by:
haveDescriptors in class AbstractHelperHandler

installDescriptors

protected void installDescriptors(XMLDocument document,
                                  int offset,
                                  java.lang.String activatorString)
Overrides:
installDescriptors in class AbstractHelperHandler

hasDelegateForInsertingResult

public boolean hasDelegateForInsertingResult()
Description copied from class: AbstractHelperHandler
Give information if this helper can managed the result inserting. Only for particular case like attribute value

Overrides:
hasDelegateForInsertingResult in class AbstractHelperHandler

insertResult

public void insertResult(XMLDocument document,
                         int offset,
                         java.lang.String result)
Description copied from class: AbstractHelperHandler
Only if the hasDelegateForInsertingResult is true

Overrides:
insertResult in class AbstractHelperHandler


Copyright © 2006 JAPISoft. All Rights Reserved.