public class JETScriptletGenerator extends java.lang.Object implements JETGenerator, JETJavaGenerator
JETGenerator.BuilderSensitive| Modifier and Type | Field and Description |
|---|---|
protected char[] |
chars |
protected JETJavaItem |
jetJavaItem |
protected JETMark |
start |
protected JETMark |
stop |
| Constructor and Description |
|---|
JETScriptletGenerator(char[] chars)
Deprecated.
|
JETScriptletGenerator(char[] chars,
JETMark start,
JETMark stop,
JETJavaItem jetJavaItem) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generate() |
JETJavaItem |
getJavaItem()
Returns the associated item.
|
int |
getJavaLength()
|
int |
getRelativeJavaOffset()
|
JETMark |
getStart()
Returns the start mark for the source of this generator.
|
JETMark |
getStop()
Returns the stop mark for the source of this generator.
|
static char[] |
removeQuotes(char[] characters) |
protected char[] chars
protected JETMark start
protected JETMark stop
protected JETJavaItem jetJavaItem
public JETScriptletGenerator(char[] chars)
JETScriptletGenerator(char[], JETMark, JETMark, JETJavaItem) instead.public JETScriptletGenerator(char[] chars,
JETMark start,
JETMark stop,
JETJavaItem jetJavaItem)
public JETJavaItem getJavaItem()
JETJavaGeneratorgetJavaItem in interface JETJavaGeneratorpublic java.lang.String generate()
generate in interface JETGeneratorpublic JETMark getStart()
JETJavaGeneratorgetStart in interface JETJavaGeneratorpublic JETMark getStop()
JETJavaGeneratorgetStop in interface JETJavaGeneratorpublic int getRelativeJavaOffset()
JETJavaGeneratorgenerated result at which the source of the template's start mark starts.getRelativeJavaOffset in interface JETJavaGeneratorpublic int getJavaLength()
JETJavaGeneratorgenerated result at which the source of the template's stop mark ends.getJavaLength in interface JETJavaGeneratorpublic static char[] removeQuotes(char[] characters)
Copyright © 2019. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature