JTools

net.jtools.tmpl.model
Class WriteableMacroLib

java.lang.Object
  extended by net.jtools.tmpl.model.SimpleObject
      extended by net.jtools.tmpl.model.SimpleItem
          extended by net.jtools.tmpl.model.SimpleItem.Writeable
              extended by net.jtools.tmpl.model.WriteableMacroLib
All Implemented Interfaces:
Item, Item.Writeable, MacroItem.Support, MacroLibItem, MacroLibItem.Writeable

public class WriteableMacroLib
extends SimpleItem.Writeable
implements MacroLibItem.Writeable


Nested Class Summary
static class WriteableMacroLib.DirectMacro
           
 
Nested classes/interfaces inherited from class net.jtools.tmpl.model.SimpleItem
SimpleItem.External, SimpleItem.Reference, SimpleItem.Writeable
 
Nested classes/interfaces inherited from class net.jtools.tmpl.model.SimpleObject
SimpleObject.Description
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.MacroLibItem
MacroLibItem.Reference, MacroLibItem.Support, MacroLibItem.Writeable
 
Field Summary
 
Fields inherited from class net.jtools.tmpl.model.SimpleItem
TAB
 
Fields inherited from class net.jtools.tmpl.model.SimpleObject
description
 
Constructor Summary
WriteableMacroLib(Item parent)
           
 
Method Summary
 WriteableMacroLib.DirectMacro createMacro()
           
 ReferencedMacro createMacroRef()
           
 MacroItem getMacro(String name)
           
 Collection<MacroItem> getMacros()
           
 boolean onCheck()
           
 void solve()
           
 void writeJavaFile(JavaPrintStream out)
           
 
Methods inherited from class net.jtools.tmpl.model.SimpleItem.Writeable
getClassname, setClassname
 
Methods inherited from class net.jtools.tmpl.model.SimpleItem
check, commaseparated, getModel, getName, getParent, isChecked, literal, setName
 
Methods inherited from class net.jtools.tmpl.model.SimpleObject
addDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteableMacroLib

public WriteableMacroLib(Item parent)
Method Detail

createMacro

public WriteableMacroLib.DirectMacro createMacro()

createMacroRef

public ReferencedMacro createMacroRef()

getMacro

public MacroItem getMacro(String name)
Specified by:
getMacro in interface MacroItem.Support

getMacros

public Collection<MacroItem> getMacros()
Specified by:
getMacros in interface MacroItem.Support

onCheck

public boolean onCheck()
Overrides:
onCheck in class SimpleItem

solve

public void solve()
Specified by:
solve in interface Item
Overrides:
solve in class SimpleItem

writeJavaFile

public void writeJavaFile(JavaPrintStream out)
Specified by:
writeJavaFile in interface Item.Writeable

JTools

© 2000-2006, JTools.org.