org.apache.commons.jelly.tags.regexp
Class ContainsTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.regexp.RegexpTag
          extended byorg.apache.commons.jelly.tags.regexp.ContainsTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ContainsTag
extends RegexpTag

This tag checks whether a regexp contains a string.

Version:
$Revision: 155420 $
Author:
Christian Amor Kvalheim

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ContainsTag()
           
 
Method Summary
protected  boolean getResult()
           
 
Methods inherited from class org.apache.commons.jelly.tags.regexp.RegexpTag
doTag, getPattern, getPatternMatcher, getText, setExpr, setScope, setText, setVar
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainsTag

public ContainsTag()
Method Detail

getResult

protected boolean getResult()
Specified by:
getResult in class RegexpTag


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.