net.jtools.tmpl.model
Class WriteableStyle
java.lang.Object
net.jtools.tmpl.model.SimpleObject
net.jtools.tmpl.model.SimpleItem
net.jtools.tmpl.model.SimpleItem.Writeable
net.jtools.tmpl.model.WriteableStyle
- All Implemented Interfaces:
- Item, Item.Writeable, NodeItem.Support, StyleItem, StyleItem.Writeable
public class WriteableStyle
- extends SimpleItem.Writeable
- implements StyleItem.Writeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteableStyle
public WriteableStyle(Item parent)
createBlockCode
public WriteableNode.Code createBlockCode()
createBlockComment
public WriteableNode.Comment createBlockComment()
createBlockEvaluation
public WriteableNode.Evaluation createBlockEvaluation()
createBlockExpression
public WriteableNode.Expression createBlockExpression()
createBlockStmt
public WriteableNode.Statement createBlockStmt()
createEscape
public WriteableStyle.TagHolder createEscape()
createLineCode
public WriteableNode.Code createLineCode()
createLineComment
public WriteableNode.Comment createLineComment()
createLineEvaluation
public WriteableNode.Evaluation createLineEvaluation()
createLineExpression
public WriteableNode.Expression createLineExpression()
createLineStmt
public WriteableNode.Statement createLineStmt()
createNodeRef
public ReferencedNode createNodeRef()
createStyle
public ReferencedStyle createStyle()
getEscapeTags
public Collection<String> getEscapeTags()
- Specified by:
getEscapeTags
in interface StyleItem
getNode
public NodeItem getNode(String name)
- Specified by:
getNode
in interface NodeItem.Support
getNodes
public Collection<NodeItem> getNodes()
- Specified by:
getNodes
in interface NodeItem.Support
getStyle
public StyleItem getStyle(String name)
- Specified by:
getStyle
in interface StyleItem
getStyles
public Collection<StyleItem> getStyles()
- Specified by:
getStyles
in interface StyleItem
onCheck
public boolean onCheck()
- Overrides:
onCheck
in class SimpleItem
register
protected void register()
setEscape
public void setEscape(String tag)
setNodeRef
public void setNodeRef(String node)
setNodeRefs
public void setNodeRefs(String nodes)
setStyle
public void setStyle(String style)
setStyles
public void setStyles(String styles)
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
writeJavaFile
public void writeJavaFile(String prefix,
JavaPrintStream out)
© 2000-2006, JTools.org.