|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jtools.tmpl.model.SimpleObject
net.jtools.tmpl.model.SimpleItem
net.jtools.tmpl.model.WriteableNode
public abstract class WriteableNode
Nested Class Summary | |
---|---|
static class |
WriteableNode.Code
|
static class |
WriteableNode.Comment
|
static class |
WriteableNode.Compiler
|
static class |
WriteableNode.Evaluation
|
static class |
WriteableNode.Expression
|
static class |
WriteableNode.Statement
|
static class |
WriteableNode.tagholder
|
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.NodeItem |
---|
NodeItem.Evaluated, NodeItem.Reference, NodeItem.Support, NodeItem.Type, NodeItem.Writeable |
Field Summary | |
---|---|
protected Map<String,NodeItem> |
childnames
|
protected List<NodeItem> |
childs
|
protected List<NodeItem> |
rawChilds
|
Fields inherited from class net.jtools.tmpl.model.SimpleItem |
---|
TAB |
Fields inherited from class net.jtools.tmpl.model.SimpleObject |
---|
description |
Constructor Summary | |
---|---|
protected |
WriteableNode(NodeItem.Support parent,
StyleItem style,
NodeItem.Type type,
String label,
boolean linedelimited)
|
Method Summary | |
---|---|
void |
addEscapeTag(String tag)
|
ReferencedNode |
createChildNodeRef()
|
WriteableNode.tagholder |
createEnd()
|
static String |
createSimpleTag(String x)
|
static String |
createSimpleTags(Collection<String> x,
boolean dynamic)
|
Collection<String> |
getEndTags()
|
Collection<String> |
getEscapeTags()
|
String |
getLabel()
|
NodeItem |
getNode(String name)
|
Collection<NodeItem> |
getNodes()
|
StyleItem |
getStyle()
|
String |
getTag()
|
NodeItem.Type |
getType()
|
boolean |
isInheritEscapes()
|
boolean |
isLineDelimited()
|
protected boolean |
onCheck()
|
protected void |
registerChilds()
|
void |
setChildNodeRef(String node)
|
void |
setChildNodeRefs(String nodes)
|
void |
setEnd(String tag)
|
void |
setInheritEscapes(boolean onOff)
|
void |
setStart(String tag)
|
void |
setTag(String tag)
|
void |
writeJavaFileSetChildNodes(String prefix,
JavaPrintStream out)
|
Methods inherited from class net.jtools.tmpl.model.SimpleItem |
---|
check, commaseparated, getClassname, getModel, getName, getParent, isChecked, literal, setName, solve |
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 |
Methods inherited from interface net.jtools.tmpl.model.NodeItem.Writeable |
---|
writeJavaFileCreate |
Methods inherited from interface net.jtools.tmpl.model.NodeItem |
---|
setName |
Methods inherited from interface net.jtools.tmpl.model.Item |
---|
check, getClassname, getModel, getName, getParent, isChecked, solve |
Field Detail |
---|
protected Map<String,NodeItem> childnames
protected List<NodeItem> childs
protected List<NodeItem> rawChilds
Constructor Detail |
---|
protected WriteableNode(NodeItem.Support parent, StyleItem style, NodeItem.Type type, String label, boolean linedelimited)
Method Detail |
---|
public static String createSimpleTag(String x)
public static String createSimpleTags(Collection<String> x, boolean dynamic)
public void addEscapeTag(String tag)
public ReferencedNode createChildNodeRef()
public WriteableNode.tagholder createEnd()
public Collection<String> getEndTags()
public Collection<String> getEscapeTags()
getEscapeTags
in interface NodeItem
public String getLabel()
public NodeItem getNode(String name)
getNode
in interface NodeItem
getNode
in interface NodeItem.Support
public Collection<NodeItem> getNodes()
getNodes
in interface NodeItem
getNodes
in interface NodeItem.Support
public StyleItem getStyle()
getStyle
in interface NodeItem
public String getTag()
public NodeItem.Type getType()
public boolean isInheritEscapes()
public boolean isLineDelimited()
protected boolean onCheck()
onCheck
in class SimpleItem
protected void registerChilds()
public void setChildNodeRef(String node)
public void setChildNodeRefs(String nodes)
public void setEnd(String tag)
public void setInheritEscapes(boolean onOff)
public void setStart(String tag)
public void setTag(String tag)
public void writeJavaFileSetChildNodes(String prefix, JavaPrintStream out)
writeJavaFileSetChildNodes
in interface NodeItem.Writeable
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |