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 StringBuilderbuilder
-
Constructor Summary
Constructors Constructor Description StringBuilderAppendable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotingAppendableappend(char c)QuotingAppendableappend(int c)QuotingAppendableappend(CharSequence csq)QuotingAppendableappend(CharSequence csq, int start, int end)QuotingAppendableappendQuoted(CharSequence csq)SQLGenerationContextgetContext()StringtoString()StringBuilderunwrap()
-
-
-
Field Detail
-
builder
protected final StringBuilder builder
-
-
Method Detail
-
append
public QuotingAppendable append(CharSequence csq)
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceQuotingAppendable
-
append
public QuotingAppendable append(CharSequence csq, int start, int end)
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceQuotingAppendable
-
append
public QuotingAppendable append(char c)
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceQuotingAppendable
-
append
public QuotingAppendable append(int c)
- Specified by:
appendin interfaceQuotingAppendable
-
appendQuoted
public QuotingAppendable appendQuoted(CharSequence csq)
- Specified by:
appendQuotedin interfaceQuotingAppendable
-
getContext
public SQLGenerationContext getContext()
- Specified by:
getContextin interfaceQuotingAppendable
-
unwrap
public StringBuilder unwrap()
-
-