Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.milligan.eccles.tags
Class AssertTag  view AssertTag download AssertTag.java

java.lang.Object
  extended byorg.milligan.eccles.Tag
      extended byorg.milligan.eccles.tags.AssertTag

public class AssertTag
extends org.milligan.eccles.Tag

Assert tag. Report an exception if the test value is false


Field Summary
private  boolean _continue
           
private  java.lang.String count
           
private  java.lang.String message
           
protected static java.lang.String[] tagSpecificProperties
          Tag properties for output
private  java.lang.String test
           
private  java.lang.String type
           
 
Fields inherited from class org.milligan.eccles.Tag
CONTINUE_PROCESSING, EXCEPTION_PROPERTY, log, PROCESS_CHILDREN, SIMPLE_BREAK, SKIP_CHILDREN, UNDERLYING_EXCEPTION_PROPERTY
 
Constructor Summary
AssertTag()
           
 
Method Summary
 org.milligan.eccles.EcclesReturnValue doStartTag(org.milligan.eccles.RunState state)
          Called at the start of tag processing.
 java.lang.String getCount()
           
 java.lang.String getMessage()
           
 java.lang.String getTagName()
          Name of the tag as it appears in the config file.
 java.lang.String[] getTagPropertiesForDisplay()
          Get a list of properties to be output
 java.lang.String getTest()
           
 java.lang.String getType()
           
 boolean isContinue()
           
 void setContinue(boolean _continue)
           
 void setCount(java.lang.String count)
           
 void setMessage(java.lang.String message)
           
 void setTest(java.lang.String test)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.milligan.eccles.Tag
addChildTag, doAfterChildren, doEndTag, doFinishChildren, doInitChildren, getChildren, getId, getName, getParent, getPropertiesString, hasChildren, isEmpty, isReportingTag, populateElement, populateElementPropertiesFromTag, setChildren, setId, setName, validate, validateHasNoChildren, validateNotEmptyProperties, validateNotEmptyProperties, validateNotEmptyProperties, validateNotEmptyProperty, validateProperties, validateProperties, validateProperties, validateProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagSpecificProperties

protected static final java.lang.String[] tagSpecificProperties
Tag properties for output


test

private java.lang.String test

type

private java.lang.String type

message

private java.lang.String message

count

private java.lang.String count

_continue

private boolean _continue
Constructor Detail

AssertTag

public AssertTag()
Method Detail

getTagName

public java.lang.String getTagName()
Description copied from class: org.milligan.eccles.Tag
Name of the tag as it appears in the config file. Used for exception & status reporting


getTagPropertiesForDisplay

public java.lang.String[] getTagPropertiesForDisplay()
Get a list of properties to be output


setTest

public void setTest(java.lang.String test)

getTest

public java.lang.String getTest()

setType

public void setType(java.lang.String type)

getType

public java.lang.String getType()

setMessage

public void setMessage(java.lang.String message)

getMessage

public java.lang.String getMessage()

setCount

public void setCount(java.lang.String count)

getCount

public java.lang.String getCount()

setContinue

public void setContinue(boolean _continue)

isContinue

public boolean isContinue()

doStartTag

public org.milligan.eccles.EcclesReturnValue doStartTag(org.milligan.eccles.RunState state)
                                                 throws org.milligan.eccles.EcclesException
Description copied from class: org.milligan.eccles.Tag
Called at the start of tag processing. Return either PROCESS_CHILDREN (to process the children) or SKIP_CHILDREN