|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.sql.pretty.SqlPrettyWriter.FrameImpl
protected class SqlPrettyWriter.FrameImpl
Implementation of SqlWriter.Frame
.
Field Summary | |
---|---|
(package private) String |
close
|
(package private) int |
extraIndent
Indent of sub-frame with respect to this one. |
(package private) SqlWriter.FrameType |
frameType
|
(package private) int |
itemCount
Number of items which have been printed in this list so far. |
(package private) String |
keyword
|
private boolean |
newlineAfterClose
|
private boolean |
newlineAfterOpen
|
boolean |
newlineAfterSep
Whether to print a newline after each separator. |
private boolean |
newlineBeforeClose
|
boolean |
newlineBeforeSep
Whether to print a newline before each separator. |
(package private) String |
open
|
(package private) int |
sepIndent
Indent of separators with respect to this frame's indent. |
Constructor Summary | |
---|---|
SqlPrettyWriter.FrameImpl(SqlWriter.FrameType frameType,
String keyword,
String open,
String close,
int extraIndent,
boolean newlineAfterOpen,
boolean newlineBeforeSep,
int sepIndent,
boolean newlineAfterSep,
boolean newlineBeforeClose,
boolean newlineAfterClose)
|
Method Summary | |
---|---|
protected void |
after()
|
protected void |
before()
|
protected void |
sep(boolean printFirst,
String sep)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final SqlWriter.FrameType frameType
final String keyword
final String open
final String close
final int extraIndent
final int sepIndent
int itemCount
public boolean newlineBeforeSep
public boolean newlineAfterSep
private final boolean newlineBeforeClose
private final boolean newlineAfterClose
private boolean newlineAfterOpen
Constructor Detail |
---|
SqlPrettyWriter.FrameImpl(SqlWriter.FrameType frameType, String keyword, String open, String close, int extraIndent, boolean newlineAfterOpen, boolean newlineBeforeSep, int sepIndent, boolean newlineAfterSep, boolean newlineBeforeClose, boolean newlineAfterClose)
Method Detail |
---|
protected void before()
protected void after()
protected void sep(boolean printFirst, String sep)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |