|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.d2rq.r2rml.MappingTerm
org.d2rq.r2rml.StringTemplate
public class StringTemplate
A string template is a format string that can be used to build strings from multiple components. It can reference column names by enclosing them in curly braces ("{" and "}").
Method Summary | |
---|---|
void |
accept(MappingVisitor visitor)
|
static StringTemplate |
create(String template)
Always succeeds. |
boolean |
equals(Object otherObject)
|
String[] |
getColumnNames()
|
String[] |
getLiteralParts()
|
String |
getSyntaxErrorCode()
|
String |
getSyntaxErrorMessage()
|
int |
hashCode()
|
boolean |
isValid()
Determines validity. |
boolean |
isValid(SQLConnection connection)
Determines validity. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static StringTemplate create(String template)
isValid()
to see if syntax is ok.
null
if arg is null
public String toString()
toString
in class Object
public String[] getLiteralParts()
public String[] getColumnNames()
public String getSyntaxErrorCode()
public String getSyntaxErrorMessage()
public void accept(MappingVisitor visitor)
accept
in class MappingTerm
public boolean isValid()
MappingTerm
isValid
in class MappingTerm
public boolean isValid(SQLConnection connection)
MappingTerm
isValid
in class MappingTerm
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |