org.apache.myfaces.view.facelets.tag.jstl.fn
Class JstlFunction

java.lang.Object
  extended by org.apache.myfaces.view.facelets.tag.jstl.fn.JstlFunction

public final class JstlFunction
extends Object

Implementations of JSTL Functions

Version:
$Id: JstlFunction.java 1197652 2011-11-04 16:53:18Z lu4242 $
Author:
Jacob Hookom

Method Summary
static boolean contains(String name, String searchString)
           
static boolean containsIgnoreCase(String name, String searchString)
           
static boolean endsWith(String name, String searchString)
           
static String escapeXml(String value)
           
static int indexOf(String name, String searchString)
           
static String join(String[] a, String delim)
           
static int length(Object obj)
           
static String replace(String value, String a, String b)
           
static String[] split(String value, String d)
           
static boolean startsWith(String value, String p)
           
static String substring(String v, int s, int e)
           
static String substringAfter(String v, String p)
           
static String substringBefore(String v, String s)
           
static String toLowerCase(String v)
           
static String toUpperCase(String v)
           
static String trim(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contains

@JSFFaceletFunction(name="fn:contains")
public static boolean contains(String name,
                                                  String searchString)

containsIgnoreCase

@JSFFaceletFunction(name="fn:containsIgnoreCase")
public static boolean containsIgnoreCase(String name,
                                                            String searchString)

endsWith

@JSFFaceletFunction(name="fn:endsWith")
public static boolean endsWith(String name,
                                                  String searchString)

escapeXml

@JSFFaceletFunction(name="fn:escapeXml")
public static String escapeXml(String value)

indexOf

@JSFFaceletFunction(name="fn:indexOf")
public static int indexOf(String name,
                                             String searchString)

join

@JSFFaceletFunction(name="fn:join")
public static String join(String[] a,
                                             String delim)

length

@JSFFaceletFunction(name="fn:length")
public static int length(Object obj)

replace

@JSFFaceletFunction(name="fn:replace")
public static String replace(String value,
                                                String a,
                                                String b)

split

@JSFFaceletFunction(name="fn:split")
public static String[] split(String value,
                                                String d)

startsWith

@JSFFaceletFunction(name="fn:startsWith")
public static boolean startsWith(String value,
                                                    String p)

substring

@JSFFaceletFunction(name="fn:substring")
public static String substring(String v,
                                                  int s,
                                                  int e)

substringAfter

@JSFFaceletFunction(name="fn:substringAfter")
public static String substringAfter(String v,
                                                       String p)

substringBefore

@JSFFaceletFunction(name="fn:substringBefore")
public static String substringBefore(String v,
                                                        String s)

toLowerCase

@JSFFaceletFunction(name="fn:toLowerCase")
public static String toLowerCase(String v)

toUpperCase

@JSFFaceletFunction(name="fn:toUpperCase")
public static String toUpperCase(String v)

trim

@JSFFaceletFunction(name="fn:trim")
public static String trim(String v)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.