JTools

org.jtools.tmpl.compiler.parser
Class SimpleNodeFactory

java.lang.Object
  extended by org.jtools.tmpl.compiler.parser.SimpleNodeFactory

public class SimpleNodeFactory
extends Object

Definition of the Template Language.

Author:
rainer noack

Constructor Summary
SimpleNodeFactory()
           
 
Method Summary
static CompilerNode createBlockCode(Tag startTag, List<Tag> endTags, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static CompilerNode createBlockCode(Tag startTag, Tag[] endTags, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static CompilerNode createBlockComment(Tag startTag, List<Tag> endTags, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static CompilerNode createBlockComment(Tag startTag, Tag[] endTags, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static StatementNode createBlockStatement(Tag startTag, List<Tag> endTags, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes, Collection<StatementReader.Factory> readerfactories)
           
static StatementNode createBlockStatement(Tag startTag, Tag[] endTags, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes, Collection<StatementReader.Factory> readerfactories)
           
static EvaluatedNode createEvaluatedProperty(Tag startTag, List<Tag> endTags, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static EvaluatedNode createEvaluatedProperty(Tag startTag, Tag[] endTags, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static CompilerNode createExpression(Tag startTag, List<Tag> endTags, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static CompilerNode createExpression(Tag startTag, Tag[] endTags, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static CompilerNode createLineCode(Tag tag, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static CompilerNode createLineCode(Tag tag, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static CompilerNode createLineComment(Tag tag, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes)
           
static CompilerNode createLineComment(Tag tag, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes)
           
static StatementNode createLineStatement(Tag tag, boolean inheritEscapes, List<Tag> escTags, List<EvaluatedNode> parserNodes, Collection<StatementReader.Factory> readerfactory)
           
static StatementNode createLineStatement(Tag tag, boolean inheritEscapes, Tag[] escTags, EvaluatedNode[] parserNodes, Collection<StatementReader.Factory> readerfactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNodeFactory

public SimpleNodeFactory()
Method Detail

createBlockCode

public static CompilerNode createBlockCode(Tag startTag,
                                           List<Tag> endTags,
                                           boolean inheritEscapes,
                                           List<Tag> escTags,
                                           List<EvaluatedNode> parserNodes)

createBlockCode

public static CompilerNode createBlockCode(Tag startTag,
                                           Tag[] endTags,
                                           boolean inheritEscapes,
                                           Tag[] escTags,
                                           EvaluatedNode[] parserNodes)

createBlockComment

public static CompilerNode createBlockComment(Tag startTag,
                                              List<Tag> endTags,
                                              boolean inheritEscapes,
                                              List<Tag> escTags,
                                              List<EvaluatedNode> parserNodes)

createBlockComment

public static CompilerNode createBlockComment(Tag startTag,
                                              Tag[] endTags,
                                              boolean inheritEscapes,
                                              Tag[] escTags,
                                              EvaluatedNode[] parserNodes)

createBlockStatement

public static StatementNode createBlockStatement(Tag startTag,
                                                 List<Tag> endTags,
                                                 boolean inheritEscapes,
                                                 List<Tag> escTags,
                                                 List<EvaluatedNode> parserNodes,
                                                 Collection<StatementReader.Factory> readerfactories)

createBlockStatement

public static StatementNode createBlockStatement(Tag startTag,
                                                 Tag[] endTags,
                                                 boolean inheritEscapes,
                                                 Tag[] escTags,
                                                 EvaluatedNode[] parserNodes,
                                                 Collection<StatementReader.Factory> readerfactories)

createEvaluatedProperty

public static EvaluatedNode createEvaluatedProperty(Tag startTag,
                                                    List<Tag> endTags,
                                                    boolean inheritEscapes,
                                                    List<Tag> escTags,
                                                    List<EvaluatedNode> parserNodes)

createEvaluatedProperty

public static EvaluatedNode createEvaluatedProperty(Tag startTag,
                                                    Tag[] endTags,
                                                    boolean inheritEscapes,
                                                    Tag[] escTags,
                                                    EvaluatedNode[] parserNodes)

createExpression

public static CompilerNode createExpression(Tag startTag,
                                            List<Tag> endTags,
                                            boolean inheritEscapes,
                                            List<Tag> escTags,
                                            List<EvaluatedNode> parserNodes)

createExpression

public static CompilerNode createExpression(Tag startTag,
                                            Tag[] endTags,
                                            boolean inheritEscapes,
                                            Tag[] escTags,
                                            EvaluatedNode[] parserNodes)

createLineCode

public static CompilerNode createLineCode(Tag tag,
                                          boolean inheritEscapes,
                                          List<Tag> escTags,
                                          List<EvaluatedNode> parserNodes)

createLineCode

public static CompilerNode createLineCode(Tag tag,
                                          boolean inheritEscapes,
                                          Tag[] escTags,
                                          EvaluatedNode[] parserNodes)

createLineComment

public static CompilerNode createLineComment(Tag tag,
                                             boolean inheritEscapes,
                                             List<Tag> escTags,
                                             List<EvaluatedNode> parserNodes)

createLineComment

public static CompilerNode createLineComment(Tag tag,
                                             boolean inheritEscapes,
                                             Tag[] escTags,
                                             EvaluatedNode[] parserNodes)

createLineStatement

public static StatementNode createLineStatement(Tag tag,
                                                boolean inheritEscapes,
                                                List<Tag> escTags,
                                                List<EvaluatedNode> parserNodes,
                                                Collection<StatementReader.Factory> readerfactory)

createLineStatement

public static StatementNode createLineStatement(Tag tag,
                                                boolean inheritEscapes,
                                                Tag[] escTags,
                                                EvaluatedNode[] parserNodes,
                                                Collection<StatementReader.Factory> readerfactory)

JTools

© 2000-2006, JTools.org.