org.jface.stepmt.core
Class Interpreter
java.lang.Object
org.jface.stepmt.core.Interpreter
- public class Interpreter
- extends java.lang.Object
The Interpreter
is the central class of the core component. It
is the actual generator of the XML code. The generation of the XML code is
based on the given root Region
and the text.
The root Region
contains the root node of the regions defined
in the template.
- Version:
- $Id: Interpreter.java,v 1.4 2004/02/12 22:29:32 powerpete Exp $
- Author:
- M. Petersen
Method Summary |
void |
generate()
Generates the XML code using the given ContentHandler . |
void |
setConsumer(org.xml.sax.ContentHandler consumer)
|
void |
setRegion(Region region)
|
void |
setText(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Interpreter
public Interpreter()
generate
public void generate()
throws org.xml.sax.SAXException
- Generates the XML code using the given
ContentHandler
.
- Throws:
org.xml.sax.SAXException
- If something went wrong during the XML generation.
setRegion
public void setRegion(Region region)
setText
public void setText(java.lang.String text)
setConsumer
public void setConsumer(org.xml.sax.ContentHandler consumer)
Copyright © 2003-2004 jface.org. All Rights Reserved.