Class StringBuilderAppendable
- java.lang.Object
-
- org.apache.cayenne.access.sqlbuilder.StringBuilderAppendable
-
- All Implemented Interfaces:
Appendable
,QuotingAppendable
- Direct Known Subclasses:
DefaultQuotingAppendable
public class StringBuilderAppendable extends Object implements QuotingAppendable
- Since:
- 4.2
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuilder
builder
-
Constructor Summary
Constructors Constructor Description StringBuilderAppendable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotingAppendable
append(char c)
QuotingAppendable
append(int c)
QuotingAppendable
append(CharSequence csq)
QuotingAppendable
append(CharSequence csq, int start, int end)
QuotingAppendable
appendQuoted(CharSequence csq)
SQLGenerationContext
getContext()
String
toString()
StringBuilder
unwrap()
-
-
-
Field Detail
-
builder
protected final StringBuilder builder
-
-
Method Detail
-
append
public QuotingAppendable append(CharSequence csq)
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceQuotingAppendable
-
append
public QuotingAppendable append(CharSequence csq, int start, int end)
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceQuotingAppendable
-
append
public QuotingAppendable append(char c)
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceQuotingAppendable
-
append
public QuotingAppendable append(int c)
- Specified by:
append
in interfaceQuotingAppendable
-
appendQuoted
public QuotingAppendable appendQuoted(CharSequence csq)
- Specified by:
appendQuoted
in interfaceQuotingAppendable
-
getContext
public SQLGenerationContext getContext()
- Specified by:
getContext
in interfaceQuotingAppendable
-
unwrap
public StringBuilder unwrap()
-
-