|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.strings.CapitalizeStringExpression
public class CapitalizeStringExpression
A expression that transforms all first letters of a given string into upper-case letters.
Constructor Summary | |
---|---|
CapitalizeStringExpression()
Deprecated. Default constructor. |
Method Summary | |
---|---|
String |
getField()
Deprecated. Returns the name of the datarow-column from where to read the string value. |
Object |
getValue()
Deprecated. Capitalizes the string that has been read from the defined field. |
boolean |
isFirstWordOnly()
Deprecated. Returns, whether only the first word should be capitalized. |
void |
setField(String field)
Deprecated. Defines the name of the datarow-column from where to read the string value. |
void |
setFirstWordOnly(boolean firstWordOnly)
Deprecated. Defines, whether only the first word should be capitalized. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CapitalizeStringExpression()
Method Detail |
---|
public boolean isFirstWordOnly()
public void setFirstWordOnly(boolean firstWordOnly)
firstWordOnly
- true, if the first word should be capitalized, false if all words should be capitalized.public String getField()
public void setField(String field)
field
- the field.public Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |