|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.tools.xpath.ADKFunctions
public class ADKFunctions
Contains built-in functions that are automatically registered with
SIFXPathContext, using the
namespace prefix "adk". See the class documentation for
SIFXPathContext for an example
of using these functions.
| Constructor Summary | |
|---|---|
ADKFunctions()
|
|
| Method Summary | |
|---|---|
static boolean |
equalsIgnoreCase(java.lang.String str1,
java.lang.String str2)
Returns true if the two strings are equal, ignoring any differences in case |
static java.lang.String |
padBegin(java.lang.String source,
java.lang.String padding,
int width)
padBegin( Source, PadChar, Width ) Pads the beginning of the Source string with the specified PadChar character so that the source string is at least Width characters in length. |
static java.lang.String |
padEnd(java.lang.String source,
java.lang.String padding,
int width)
padEnd( Source, PadChar, Width ) Pads the end of the Source string with the specified PadChar character so that the source string is at least Width characters in length. |
static java.lang.String |
toLowerCase(java.lang.String str)
Returns the string converted to all Lower case |
static java.lang.String |
toProperCase(java.lang.String source)
toProperCase( Source ) Converts the source string to 'Proper' case. |
static java.lang.String |
toUpperCase(java.lang.String str)
Returns the string converted to all Upper case |
static boolean |
x()
Used internally by the ADK |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ADKFunctions()
| Method Detail |
|---|
public static java.lang.String toUpperCase(java.lang.String str)
str - The string to convert to upper case, or null
public static java.lang.String toLowerCase(java.lang.String str)
str - The string to convert to lower case, or null
public static boolean equalsIgnoreCase(java.lang.String str1,
java.lang.String str2)
str1 - The first string to comparestr2 - The second string to compare
public static java.lang.String padBegin(java.lang.String source,
java.lang.String padding,
int width)
source - The string to start withpadding - The string to use for padding (only the first char will be used)width - The length the final string should be
public static java.lang.String padEnd(java.lang.String source,
java.lang.String padding,
int width)
source - The string to start withpadding - The string to use for padding (only the first char will be used)width - The length the final string should be
public static java.lang.String toProperCase(java.lang.String source)
source - The String to ProperCase
public static boolean x()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||