JTools

net.jtools.tmpl
Class TmplModel

java.lang.Object
  extended by net.jtools.tmpl.TmplModel
All Implemented Interfaces:
DestLanguageItem.Support, GroupItem.Support, Item, MacroItem.Support, MacroLibItem.Support, Model, StyleItem.Support, TmplLanguageItem.Support

public class TmplModel
extends Object
implements Model


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Nested classes/interfaces inherited from interface net.jtools.tmpl.model.Item
Item.Reference, Item.Support, Item.Writeable
 
Constructor Summary
TmplModel()
           
 
Method Summary
 void check()
           
 WriteableDestLanguage createDestLanguage()
           
 ExternalMacroLib createExternal()
           
 ExternalMacro createExtMacro()
           
 ExternalMacroLib createExtMacroSet()
           
 WriteableGroup createGroup()
           
 WriteableMacro createMacro()
           
 WriteableMacroLib createMacroLib()
           
 WriteableStyle createStyle()
           
 WriteableTmplLanguage createTmplLanguage()
           
 Classname getClassname()
           
 DestLanguageItem getDestLanguage(String name)
           
 Collection<DestLanguageItem> getDestLanguages()
           
 GroupItem getGroup(String name)
           
 Collection<GroupItem> getGroups()
           
 MacroItem getMacro(String name)
           
 Collection<MacroItem> getMacros()
           
 MacroLibItem getMacroSet(String name)
           
 Collection<MacroLibItem> getMacroSets()
           
 Model getModel()
           
 String getName()
           
 Item getParent()
           
 StyleItem getStyle(String name)
           
 Collection<StyleItem> getStyles()
           
 TmplLanguageItem getTmplLanguage(String name)
           
 Collection<TmplLanguageItem> getTmplLanguages()
           
 boolean isChecked()
           
static void main(String[] args)
           
 void setDest(String dir)
           
 void solve()
           
 void writeJavaFiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TmplModel

public TmplModel()
Method Detail

main

public static void main(String[] args)

check

public void check()
Specified by:
check in interface Item

createDestLanguage

public WriteableDestLanguage createDestLanguage()

createExtMacro

public ExternalMacro createExtMacro()

createExtMacroSet

public ExternalMacroLib createExtMacroSet()

createExternal

public ExternalMacroLib createExternal()

createGroup

public WriteableGroup createGroup()

createMacro

public WriteableMacro createMacro()

createMacroLib

public WriteableMacroLib createMacroLib()

createStyle

public WriteableStyle createStyle()

createTmplLanguage

public WriteableTmplLanguage createTmplLanguage()

getClassname

public Classname getClassname()
Specified by:
getClassname in interface Item

getDestLanguage

public DestLanguageItem getDestLanguage(String name)
Specified by:
getDestLanguage in interface DestLanguageItem.Support

getDestLanguages

public Collection<DestLanguageItem> getDestLanguages()
Specified by:
getDestLanguages in interface DestLanguageItem.Support

getGroup

public GroupItem getGroup(String name)
Specified by:
getGroup in interface GroupItem.Support

getGroups

public Collection<GroupItem> getGroups()
Specified by:
getGroups in interface GroupItem.Support

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

getMacroSet

public MacroLibItem getMacroSet(String name)
Specified by:
getMacroSet in interface MacroLibItem.Support

getMacroSets

public Collection<MacroLibItem> getMacroSets()
Specified by:
getMacroSets in interface MacroLibItem.Support

getModel

public Model getModel()
Specified by:
getModel in interface Item

getName

public String getName()
Specified by:
getName in interface Item

getParent

public Item getParent()
Specified by:
getParent in interface Item

getStyle

public StyleItem getStyle(String name)
Specified by:
getStyle in interface StyleItem.Support

getStyles

public Collection<StyleItem> getStyles()
Specified by:
getStyles in interface StyleItem.Support

getTmplLanguage

public TmplLanguageItem getTmplLanguage(String name)
Specified by:
getTmplLanguage in interface TmplLanguageItem.Support

getTmplLanguages

public Collection<TmplLanguageItem> getTmplLanguages()
Specified by:
getTmplLanguages in interface TmplLanguageItem.Support

isChecked

public boolean isChecked()
Specified by:
isChecked in interface Item

setDest

public void setDest(String dir)

solve

public void solve()
Specified by:
solve in interface Item

writeJavaFiles

public void writeJavaFiles()
                    throws IOException
Throws:
IOException

JTools

© 2000-2006, JTools.org.