Module org.eclipse.persistence.core
Class ExpressionJavaPrinter
- java.lang.Object
-
- org.eclipse.persistence.internal.expressions.ExpressionJavaPrinter
-
public class ExpressionJavaPrinter extends Object
Purpose: Expression Java printer.
Responsibilities:
- Print an expression in Java format.
- Used in project class generation.
- Since:
- TOPLink10.1.3
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbuilderStringprotected DatabasePlatformplatformprotected StringWriterwriter
-
Constructor Summary
Constructors Constructor Description ExpressionJavaPrinter(String builderString, StringWriter writer, DatabasePlatform platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBuilderString()DatabasePlatformgetPlatform()StringWritergetWriter()voidprintByte(Byte aByte)voidprintCharacter(Character aCharacter)voidprintJava(Object object)voidprintString(String value)
-
-
-
Field Detail
-
writer
protected StringWriter writer
-
builderString
protected String builderString
-
platform
protected DatabasePlatform platform
-
-
Constructor Detail
-
ExpressionJavaPrinter
public ExpressionJavaPrinter(String builderString, StringWriter writer, DatabasePlatform platform)
-
-
Method Detail
-
getBuilderString
public String getBuilderString()
-
getPlatform
public DatabasePlatform getPlatform()
-
getWriter
public StringWriter getWriter()
-
printString
public void printString(String value)
-
printJava
public void printJava(Object object)
-
printByte
public void printByte(Byte aByte)
-
printCharacter
public void printCharacter(Character aCharacter)
-
-