net.jtools.tmpl
Class TmplModel
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TmplModel
public TmplModel()
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
© 2000-2006, JTools.org.