JFCML - JFC/Swing
XML Markup Language

com.metasolutions.util
Class DefaultConfiguration

java.lang.Object
  extended by com.metasolutions.util.DefaultConfiguration
All Implemented Interfaces:
JFCMLConfiguration

public class DefaultConfiguration
extends Object
implements JFCMLConfiguration

The default Configuration of the JFCML interpreter.

Version:
0.9 Jun 5, 2005
Author:
Shawn Curry

Field Summary
protected  AttributeHandler attributeHandler
          A DocumentHandler responsible for processing XML attributes.
protected  BSFHandler bsfHandler
          A DocumentHandler that provides Reflective access to the Bean Scripting Framework.
protected  ChildHandler childHandler
          A DocumentHandler responsible for processing nested XML elements.
protected  ElementHandler elementHandler
          A DocumentHandler responsible for processing XML elements.
protected  JFCMLScript jfcmlScript
          The JFCMLScript instance which serves as the default script evaluation service.
protected  ReflectionHandler reflectionHandler
          Handles Reflection-oriented tasks for the JFCML interpreter.
protected  SAXParser saxParser
          A SAXParser, used in conjunction with the TagHandler when processing XML files.
protected  ScriptHandler scriptHandler
          The ScriptHandler, used to evaluate all scripts.
protected  TagHandler tagHandler
          A SAX EventHandler, and JFCML DocumentHandler manager.
protected  WindowContext windowContext
          Stores information about the current window and parser state.
protected  WindowHandler windowHandler
          A DocumentHandler which is notified when the TagHandler begins and ends a file.
 
Constructor Summary
DefaultConfiguration()
          Creates an instance of the default Configuration.
 
Method Summary
 AttributeHandler getAttributeHandler()
          The AttributeHandler to use.
 BSFHandler getBSFHandler()
          The BSFHandler to use.
 ChildHandler getChildHandler()
          The ChildHandler to use.
 ElementHandler getElementHandler()
          The ElementHandler to use.
 JFCMLScript getJFCMLScript()
          The JFCMLScript instance to use.
 ReflectionHandler getReflectionHandler()
          The ReflectionHandler to use.
 SAXParser getSAXParser()
          The SAXParser to use.
 ScriptHandler getScriptHandler()
          The ScriptHandler to use.
 TagHandler getTagHandler()
          The TagHandler to use.
 WindowContext getWindowContext()
           
 WindowHandler getWindowHandler()
          The WindowHandler to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagHandler

protected TagHandler tagHandler
A SAX EventHandler, and JFCML DocumentHandler manager.


saxParser

protected SAXParser saxParser
A SAXParser, used in conjunction with the TagHandler when processing XML files.


windowContext

protected WindowContext windowContext
Stores information about the current window and parser state.


reflectionHandler

protected ReflectionHandler reflectionHandler
Handles Reflection-oriented tasks for the JFCML interpreter.


bsfHandler

protected BSFHandler bsfHandler
A DocumentHandler that provides Reflective access to the Bean Scripting Framework.


elementHandler

protected ElementHandler elementHandler
A DocumentHandler responsible for processing XML elements.


attributeHandler

protected AttributeHandler attributeHandler
A DocumentHandler responsible for processing XML attributes.


windowHandler

protected WindowHandler windowHandler
A DocumentHandler which is notified when the TagHandler begins and ends a file.


childHandler

protected ChildHandler childHandler
A DocumentHandler responsible for processing nested XML elements.


jfcmlScript

protected JFCMLScript jfcmlScript
The JFCMLScript instance which serves as the default script evaluation service.


scriptHandler

protected ScriptHandler scriptHandler
The ScriptHandler, used to evaluate all scripts.

Constructor Detail

DefaultConfiguration

public DefaultConfiguration()
Creates an instance of the default Configuration.

Throws:
RuntimeException - if a SAXParser could not be instantiated.
Method Detail

getTagHandler

public TagHandler getTagHandler()
Description copied from interface: JFCMLConfiguration
The TagHandler to use.

Specified by:
getTagHandler in interface JFCMLConfiguration
Returns:
Returns the tagHandler.

getSAXParser

public SAXParser getSAXParser()
Description copied from interface: JFCMLConfiguration
The SAXParser to use.

Specified by:
getSAXParser in interface JFCMLConfiguration
Returns:
Returns the saxParser.

getWindowContext

public WindowContext getWindowContext()
Returns:
Returns the windowContext.

getAttributeHandler

public AttributeHandler getAttributeHandler()
Description copied from interface: JFCMLConfiguration
The AttributeHandler to use.

Specified by:
getAttributeHandler in interface JFCMLConfiguration
Returns:
Returns the attributeHandler.

getBSFHandler

public BSFHandler getBSFHandler()
Description copied from interface: JFCMLConfiguration
The BSFHandler to use.

Specified by:
getBSFHandler in interface JFCMLConfiguration
Returns:
Returns the bsfHandler.

getChildHandler

public ChildHandler getChildHandler()
Description copied from interface: JFCMLConfiguration
The ChildHandler to use.

Specified by:
getChildHandler in interface JFCMLConfiguration
Returns:
Returns the childHandler.

getElementHandler

public ElementHandler getElementHandler()
Description copied from interface: JFCMLConfiguration
The ElementHandler to use.

Specified by:
getElementHandler in interface JFCMLConfiguration
Returns:
Returns the elementHandler.

getReflectionHandler

public ReflectionHandler getReflectionHandler()
Description copied from interface: JFCMLConfiguration
The ReflectionHandler to use.

Specified by:
getReflectionHandler in interface JFCMLConfiguration
Returns:
Returns the reflectionHandler.

getWindowHandler

public WindowHandler getWindowHandler()
Description copied from interface: JFCMLConfiguration
The WindowHandler to use.

Specified by:
getWindowHandler in interface JFCMLConfiguration
Returns:
Returns the windowHandler.

getJFCMLScript

public JFCMLScript getJFCMLScript()
Description copied from interface: JFCMLConfiguration
The JFCMLScript instance to use.

Specified by:
getJFCMLScript in interface JFCMLConfiguration
Returns:
Returns the jfcmlScript.

getScriptHandler

public ScriptHandler getScriptHandler()
Description copied from interface: JFCMLConfiguration
The ScriptHandler to use.

Specified by:
getScriptHandler in interface JFCMLConfiguration
Returns:
Returns the scriptHandler.

SourceForge.net
java.net

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