| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.codegen.jet.JETCompiler
Field Summary | |
protected static String | CONSTANT_PREFIX
|
protected long | constantCount
|
protected Map | constantDictionary
|
protected List | constants
|
protected boolean | fNoNewLineForScriptlets
|
protected char[] | fSavedLine
|
protected boolean | fUseStaticFinalConstants
|
protected List | generators
|
protected static char[] | NULL_CHAR_ARRAY
|
protected JETParser | parser
|
protected JETReader | reader
|
protected JETSkeleton | skeleton
|
protected String | templateURI
|
protected String[] | templateURIPath
|
protected PrintWriter | writer
|
Constructor Summary | |
JETCompiler(String templateURI)
| |
JETCompiler(String[] templateURIPath,
String relativeTemplateURI)
| |
JETCompiler(String[] templateURIPath,
String relativeTemplateURI,
String encoding)
| |
JETCompiler(String templateURI,
InputStream inputStream,
String encoding)
| |
JETCompiler(String templateURI,
String encoding)
|
Method Summary | |
void | addCharDataGenerator(char[] chars)
|
void | addGenerator(JETGenerator gen)
|
void | beginPageProcessing()
|
void | doAddCharDataGenerator(char[] chars)
|
void | endPageProcessing()
|
static String | find(String[] locationURIPath,
String relativeLocationURI)
|
void | generate(OutputStream oStream)
|
String | getResolvedTemplateURI()
|
JETSkeleton | getSkeleton()
|
void | handleCharData(char[] chars)
|
void | handleDirective(String directive,
JETMark start,
JETMark stop,
Map attributes)
|
void | handleExpression(JETMark start,
JETMark stop,
Map attributes)
|
protected void | handleNewSkeleton()
|
void | handleScriptlet(JETMark start,
JETMark stop,
Map attributes)
|
static InputStream | openStream(String locationURI)
|
void | parse()
|
protected void | parse(JETCoreElement[] coreElements,
Class[] accept)
|
protected static String[] | resolveLocation(String[] templateURIPath,
String baseLocationURI,
String locationURI)
|
protected char[] | stripFirstNewLineWithBlanks(char[] chars)
|
protected char[] | stripLastNewLineWithBlanks(char[] chars)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final char[] NULL_CHAR_ARRAY
protected String[] templateURIPath
protected String templateURI
protected JETParser parser
protected JETSkeleton skeleton
protected JETReader reader
protected PrintWriter writer
protected List generators
protected List constants
protected Map constantDictionary
protected long constantCount
protected boolean fNoNewLineForScriptlets
protected boolean fUseStaticFinalConstants
protected char[] fSavedLine
protected static final String CONSTANT_PREFIX
Constructor Detail |
public JETCompiler(String templateURI) throws JETException
public JETCompiler(String templateURI, String encoding) throws JETException
public JETCompiler(String templateURI, InputStream inputStream, String encoding) throws JETException
public JETCompiler(String[] templateURIPath, String relativeTemplateURI) throws JETException
public JETCompiler(String[] templateURIPath, String relativeTemplateURI, String encoding) throws JETException
Method Detail |
public String getResolvedTemplateURI()
public void handleDirective(String directive, JETMark start, JETMark stop, Map attributes) throws JETException
protected void handleNewSkeleton()
public void handleExpression(JETMark start, JETMark stop, Map attributes) throws JETException
public void handleScriptlet(JETMark start, JETMark stop, Map attributes) throws JETException
public void handleCharData(char[] chars) throws JETException
public void addGenerator(JETGenerator gen) throws JETException
public void addCharDataGenerator(char[] chars) throws JETException
public void doAddCharDataGenerator(char[] chars) throws JETException
protected char[] stripFirstNewLineWithBlanks(char[] chars)
protected char[] stripLastNewLineWithBlanks(char[] chars)
public void beginPageProcessing()
public void endPageProcessing() throws JETException
public void parse() throws JETException
protected void parse(JETCoreElement[] coreElements, Class[] accept) throws JETException
public void generate(OutputStream oStream) throws JETException
public JETSkeleton getSkeleton()
protected static String[] resolveLocation(String[] templateURIPath, String baseLocationURI, String locationURI)
public static String find(String[] locationURIPath, String relativeLocationURI)
public static InputStream openStream(String locationURI) throws JETException
|
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 |