jgb.handlers.swing
Class MethodCallTagHandler
java.lang.Object
|
+--jgb.handlers.swing.AbstractTagHandler
|
+--jgb.handlers.swing.MethodCallTagHandler
- All Implemented Interfaces:
- TagHandler
- Direct Known Subclasses:
- PropertyTagHandler
- public class MethodCallTagHandler
- extends AbstractTagHandler
- Since:
- 0.2a
- Author:
- Francois Beausoleil, fbos@users.sourceforge.net
Fields inherited from interface jgb.builder.TagHandler |
CALL_RETURN_CLASS_KEY, CALL_RETURN_VALUE_KEY, CONSTANTS_MAP_KEY, CONTROLS_STACK_KEY, CURRENT_CONSTRAINTS_KEY, CURRENT_MODEL_ADAPTER, CURRENT_MODEL_ATTRIBUTE, CURRENT_OBJECT_ID_KEY, CURRENT_OBJECT_KEY, CURRENT_OBJECTS_STACK_KEY, CURRENT_PARM_ACC_KEY, CURRENT_WINDOW_ID_KEY, CURRENT_WINDOW_KEY, DOCUMENT_LOCATOR_KEY, MODEL_ID, OBJECTS_MAP_KEY, PARAMETER_CLASS_KEY, PARAMETER_VALUE_KEY, PROPERTY_NAME_KEY, TAG_HANDLER_FACTORY_STACK_KEY, WINDOW_CONTEXT_KEY, WINDOW_KEY |
Methods inherited from class jgb.handlers.swing.AbstractTagHandler |
endElement, getCurrentObject, getCurrentObjectId, getObject, isCurrentObjectValid, popCurrentObject, pushCurrentObject, pushCurrentObject, putComponent, putObject, startElement, throwParsingException, throwParsingException, throwParsingException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_METHOD
protected static final String ATTR_METHOD
- The name of the method attribute.
- See Also:
- Constant Field Values
MethodCallTagHandler
public MethodCallTagHandler()
enterElement
public void enterElement(Map atts)
throws org.xml.sax.SAXException
- Description copied from class:
AbstractTagHandler
- Actually handle the element's behaviour when the element's start
is encountered.
- Specified by:
enterElement
in class AbstractTagHandler
org.xml.sax.SAXException
exitElement
public void exitElement()
throws org.xml.sax.SAXException
- Description copied from class:
AbstractTagHandler
- Actually handle the element's behaviour when the element's closure
is encountered.
- Specified by:
exitElement
in class AbstractTagHandler
org.xml.sax.SAXException
getContextAccumulator
protected jgb.builder.utils.MethodCall getContextAccumulator(Map tagContext)
createMethodCall
protected jgb.builder.utils.MethodCall createMethodCall(String refObjectClassName,
String methodName,
Object refObject)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
putAccumulator
protected void putAccumulator(Map tagContext,
jgb.builder.utils.MethodCall methodCall)
getReferenceObject
protected Object getReferenceObject(Map atts)
getMethodName
protected String getMethodName(Map atts)
Copyright 2002-2003, François Beausoleil, All Rights Reserved