Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.codegen.jet
Class JETParser

java.lang.Object
  extended byorg.eclipse.emf.codegen.jet.JETParser


public class JETParser
extends Object

This class and all those in this package is work derived from contributions of multiple authors as listed below. Credit for all that is good is shared, responsibility for any problems lies solely with the latest authors.


Nested Class Summary
static interface JETParser.Action
           
static class JETParser.DelegatingListener
           
static class JETParser.Directive
           
static class JETParser.Expression
           
static class JETParser.QuoteEscape
          Quoting in template text.
static class JETParser.Scriptlet
           
 
Field Summary
protected  String closeDirective
           
protected  String closeExpr
           
protected  String closeScriptlet
           
protected  List coreElements
           
protected  String endTag
           
protected  JETParseEventListener listener
          The backend that is notified of constructs recognized in the input...
protected  String openDirective
           
protected  String openExpr
           
protected  String openScriptlet
           
protected  String quotedEndTag
           
protected  String quotedStartTag
           
protected  JETReader reader
          The input source we read from...
protected  String startTag
           
protected  CharArrayWriter writer
           
 
Constructor Summary
JETParser(JETReader reader, JETParseEventListener parseEventListener, JETCoreElement[] coreElements)
           
 
Method Summary
protected  void flushCharData()
           
 String getCloseDirective()
           
 String getCloseExpr()
           
 String getCloseScriptlet()
           
 String getEndTag()
           
 String getOpenDirective()
           
 String getOpenExpr()
           
 String getOpenScriptlet()
           
 String getQuotedEndTag()
           
 String getQuotedStartTag()
           
 JETReader getReader()
           
 String getStartTag()
           
 void parse()
           
 void parse(String until)
           
 void parse(String until, Class[] accept)
           
 void setEndTag(String tag)
           
 void setStartTag(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Field Detail

 

 

reader

protected JETReader reader

The input source we read from...


 

 

listener

protected JETParseEventListener listener

The backend that is notified of constructs recognized in the input...


 

 

writer

protected CharArrayWriter writer


 

 

coreElements

protected List coreElements


 

 

openDirective

protected String openDirective


 

 

closeDirective

protected String closeDirective


 

 

openScriptlet

protected String openScriptlet


 

 

closeScriptlet

protected String closeScriptlet


 

 

openExpr

protected String openExpr


 

 

closeExpr

protected String closeExpr


 

 

quotedStartTag

protected String quotedStartTag


 

 

quotedEndTag

protected String quotedEndTag


 

 

startTag

protected String startTag


 

 

endTag

protected String endTag

Constructor Detail

 

 

JETParser

public JETParser(JETReader reader,
                 JETParseEventListener parseEventListener,
                 JETCoreElement[] coreElements)

Method Detail

 

 

getReader

public JETReader getReader()


 

 

setStartTag

public void setStartTag(String tag)


 

 

setEndTag

public void setEndTag(String tag)


 

 

getOpenScriptlet

public String getOpenScriptlet()


 

 

getCloseScriptlet

public String getCloseScriptlet()


 

 

getOpenExpr

public String getOpenExpr()


 

 

getCloseExpr

public String getCloseExpr()


 

 

getOpenDirective

public String getOpenDirective()


 

 

getCloseDirective

public String getCloseDirective()


 

 

getQuotedStartTag

public String getQuotedStartTag()


 

 

getQuotedEndTag

public String getQuotedEndTag()


 

 

getStartTag

public String getStartTag()


 

 

getEndTag

public String getEndTag()


 

 

flushCharData

protected void flushCharData()
                      throws JETException

Throws:
JETException


 

 

parse

public void parse()
           throws JETException

Throws:
JETException


 

 

parse

public void parse(String until)
           throws JETException

Throws:
JETException


 

 

parse

public void parse(String until,
                  Class[] accept)
           throws JETException

Throws:
JETException


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD