|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.csqlc.ast.OwCharacterStringLiteral
public class OwCharacterStringLiteral
SQL AST node : <character string literal> syntax terminal as defined by the SQL grammar.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwCharacterStringLiteral(String characterString_p)
Constructor |
|
| Method Summary | |
|---|---|
OwCharacterStringLiteral |
append(String characterString_p)
Appends the specified string to this character sequence String contents and returns new OwCharacterStringLiteral based on the resulted
string literal contents. |
boolean |
contains(char c_p,
boolean escaped_p)
Search the given character in the contents of this String literal. |
StringBuilder |
createLiteralSQLString()
|
OwCharacterStringLiteral |
insert(int offset_p,
String characterString_p)
Inserts the specified string at the given offset into this character sequence String contents and returns new OwCharacterStringLiteral based on the resulted
string literal contents. |
boolean |
isNull()
|
OwCharacterStringLiteral |
replace(int start_p,
int end_p,
String characterString_p)
Replaces the specified range from this character sequence String contents with the specified String and returns new OwCharacterStringLiteral based
on the resulted string literal contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwCharacterStringLiteral(String characterString_p)
characterString_p - the String value of this literal , can be null| Method Detail |
|---|
public StringBuilder createLiteralSQLString()
createLiteralSQLString in interface OwLiteralStringBuilder filled with the string representation of this terminalpublic OwCharacterStringLiteral append(String characterString_p)
OwCharacterStringLiteral based on the resulted
string literal contents. Does not change this character string literal.
characterString_p -
OwCharacterStringLiteral having its content
formed by appending the given String to the contents of this literal
public OwCharacterStringLiteral insert(int offset_p,
String characterString_p)
OwCharacterStringLiteral based on the resulted
string literal contents. Does not change this character string literal.
characterString_p -
OwCharacterStringLiteral having its content
formed by inserting the given String at the given offset into the contents
of this literal
StringIndexOutOfBoundsException - if the offset is invalid
public OwCharacterStringLiteral replace(int start_p,
int end_p,
String characterString_p)
OwCharacterStringLiteral based
on the resulted string literal contents.
Does not change this character string literal.
characterString_p -
OwCharacterStringLiteral having its content
formed by replacing the specified range from this character sequence String
contents with the given character String
StringIndexOutOfBoundsException - if start is negative, greater than the length of the
contents of this literal, or greater than end.
public boolean contains(char c_p,
boolean escaped_p)
c_p - escaped_p - if true only escaped occurrences of the given character are searched
The backslash character (\) will be used to escape characters within quoted strings in the query as follows:true if the given character is found considering escaping
false otherwisepublic boolean isNull()
isNull in interface OwLiteraltrue if the String value of this literal is nullfalse otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||