gnu.xquery.util
Class StringValue

java.lang.Object
  extended by gnu.mapping.Procedure
      extended by gnu.mapping.Procedure1
          extended by gnu.xquery.util.StringValue
All Implemented Interfaces:
Named

public class StringValue
extends Procedure1


Field Summary
static StringValue string
           
static StringValue stringValue
           
 
Constructor Summary
StringValue(java.lang.String name)
           
 
Method Summary
 java.lang.Object apply1(java.lang.Object node)
           
static java.lang.Object compare(java.lang.Object val1, java.lang.Object val2, NamedCollator coll)
          This implements the XQuery fn:compare function.
static java.lang.String concat$V(java.lang.Object[] args)
           
static java.lang.Object contains(java.lang.Object str, java.lang.Object contain)
           
static java.lang.Object endsWith(java.lang.Object str, java.lang.Object with)
           
static java.lang.Object lowerCase(java.lang.Object node)
           
static java.lang.Object startsWith(java.lang.Object str, java.lang.Object with)
           
static java.lang.Object stringJoin(java.lang.Object strseq, java.lang.Object join)
           
static java.lang.Object stringLength(java.lang.Object str)
           
static java.lang.Object stringPad(java.lang.Object str, java.lang.Object padcount)
           
static java.lang.String stringValue(java.lang.Object node)
           
static void stringValue(java.lang.Object node, java.lang.StringBuffer sbuf)
           
static java.lang.Object substring(java.lang.Object str, java.lang.Object start)
           
static java.lang.Object substring(java.lang.Object str, java.lang.Object start, java.lang.Object length)
           
static java.lang.Object substringAfter(java.lang.Object str, java.lang.Object find)
           
static java.lang.Object substringBefore(java.lang.Object str, java.lang.Object find)
           
static java.lang.Object translate(java.lang.Object str, java.lang.Object map, java.lang.Object trans)
           
static java.lang.Object upperCase(java.lang.Object node)
           
 
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, numArgs
 
Methods inherited from class gnu.mapping.Procedure
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stringValue

public static final StringValue stringValue

string

public static final StringValue string
Constructor Detail

StringValue

public StringValue(java.lang.String name)
Method Detail

stringValue

public static java.lang.String stringValue(java.lang.Object node)

stringValue

public static void stringValue(java.lang.Object node,
                               java.lang.StringBuffer sbuf)

apply1

public java.lang.Object apply1(java.lang.Object node)
Specified by:
apply1 in class Procedure1

lowerCase

public static java.lang.Object lowerCase(java.lang.Object node)

upperCase

public static java.lang.Object upperCase(java.lang.Object node)

substring

public static java.lang.Object substring(java.lang.Object str,
                                         java.lang.Object start)

substring

public static java.lang.Object substring(java.lang.Object str,
                                         java.lang.Object start,
                                         java.lang.Object length)

stringLength

public static java.lang.Object stringLength(java.lang.Object str)

substringBefore

public static java.lang.Object substringBefore(java.lang.Object str,
                                               java.lang.Object find)

substringAfter

public static java.lang.Object substringAfter(java.lang.Object str,
                                              java.lang.Object find)

translate

public static java.lang.Object translate(java.lang.Object str,
                                         java.lang.Object map,
                                         java.lang.Object trans)

stringPad

public static java.lang.Object stringPad(java.lang.Object str,
                                         java.lang.Object padcount)

contains

public static java.lang.Object contains(java.lang.Object str,
                                        java.lang.Object contain)

startsWith

public static java.lang.Object startsWith(java.lang.Object str,
                                          java.lang.Object with)

endsWith

public static java.lang.Object endsWith(java.lang.Object str,
                                        java.lang.Object with)

stringJoin

public static java.lang.Object stringJoin(java.lang.Object strseq,
                                          java.lang.Object join)

concat$V

public static java.lang.String concat$V(java.lang.Object[] args)

compare

public static java.lang.Object compare(java.lang.Object val1,
                                       java.lang.Object val2,
                                       NamedCollator coll)
This implements the XQuery fn:compare function.