tomp.ext.compiler
Class ComposedItem

java.lang.Object
  |
  +--tomp.ext.compiler.Item
        |
        +--tomp.ext.compiler.ComposedItem
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
Action, Application, CollectionLoop

public class ComposedItem
extends Item


Field Summary
 
Fields inherited from class tomp.ext.compiler.Item
application, condition, element, id, index, initParams, inPackage, isOnException, itemOn, items, params, parent, priority, returnCodeOnException, sourcePath, targetPath, toUpdate, type, whatCatch
 
Constructor Summary
ComposedItem(org.jdom.Element e, Application app, java.lang.String id, java.lang.String type, Item parent, int priority, java.lang.String inPackage)
           
 
Method Summary
 void footer(java.lang.StringBuffer output, int indent)
           
 java.lang.String getClassFileName()
           
 java.lang.String getFileName()
           
 void header(java.lang.StringBuffer output, int indent)
           
 void produceSource(java.lang.StringBuffer output, int indent)
           
 void saveSource()
           
 
Methods inherited from class tomp.ext.compiler.Item
addAllImports, addImports, addItem, beginCatch, beginTry, body, clearImports, compareTo, condition, conditionFooter, conditionHeader, declaration, defaultCatch, determineWhatInitParamsImport, endCatch, findItem, generateParameters, generateSetParameters, generateSubstParameters, getAction, getDescendantOrSelfCount, getFilterStyleRef, getId, getImport, getImports, gets, getSourcePath, getTargetPath, isFiltered, label, processChildren, produceImports, produceItems, producePackageDecl, setImports, setSourcePath, setTargetPath, setWhatCatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComposedItem

public ComposedItem(org.jdom.Element e,
                    Application app,
                    java.lang.String id,
                    java.lang.String type,
                    Item parent,
                    int priority,
                    java.lang.String inPackage)
Method Detail

produceSource

public void produceSource(java.lang.StringBuffer output,
                          int indent)
                   throws org.jdom.JDOMException
Overrides:
produceSource in class Item
org.jdom.JDOMException

header

public void header(java.lang.StringBuffer output,
                   int indent)
Overrides:
header in class Item

footer

public void footer(java.lang.StringBuffer output,
                   int indent)
Overrides:
footer in class Item

saveSource

public void saveSource()
                throws org.jdom.JDOMException,
                       java.io.IOException,
                       java.io.FileNotFoundException
org.jdom.JDOMException
java.io.IOException
java.io.FileNotFoundException

getFileName

public java.lang.String getFileName()

getClassFileName

public java.lang.String getClassFileName()