JFCML - JFC/Swing
XML Markup Language

com.metasolutions.jfcml.extend
Class ElementHandler

java.lang.Object
  extended by com.metasolutions.jfcml.helpers.DocumentHandler
      extended by com.metasolutions.jfcml.extend.ElementHandler
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ElementHandlerAnchor

public class ElementHandler
extends DocumentHandler
implements Serializable

A DocumentHandler which handles XML elements.

Version:
0.9 May 28, 2005
Author:
Shawn Curry
See Also:
DocumentHandler, Serialized Form

Field Summary
 
Fields inherited from class com.metasolutions.jfcml.helpers.DocumentHandler
windowContext
 
Constructor Summary
ElementHandler(WindowContext windowContext)
           
 
Method Summary
 Object handleElement(Element elem, SimpleStack children)
           
 void setNext(ElementHandler next)
           
 void setWindowContext(WindowContext windowContext)
           
 
Methods inherited from class com.metasolutions.jfcml.helpers.DocumentHandler
getWindowContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementHandler

public ElementHandler(WindowContext windowContext)
Parameters:
windowContext -
Method Detail

handleElement

public Object handleElement(Element elem,
                            SimpleStack children)

setNext

public void setNext(ElementHandler next)
Parameters:
next - The next ElementHandler in the chain.

setWindowContext

public void setWindowContext(WindowContext windowContext)
Overrides:
setWindowContext in class DocumentHandler
Parameters:
windowContext - The windowContext to set.

SourceForge.net
java.net

Copyright 2004-2005 Shawn Curry, http://jfcml.sourceforge.net
Licensed under the Academic Free License version 2.1