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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.milligan.eccles.Tag
      extended byorg.milligan.eccles.tags.GenericBreakableTag
          extended byorg.milligan.eccles.tags.LoopTag

public class LoopTag
extends GenericBreakableTag

Execute the child tags a number of times.


Field Summary
private  java.lang.String begin
           
private  java.lang.String end
           
private  java.lang.String property
           
protected static java.lang.String[] tagSpecificProperties
          Tag properties for output
 
Fields inherited from class org.milligan.eccles.Tag
CONTINUE_PROCESSING, EXCEPTION_PROPERTY, log, PROCESS_CHILDREN, SIMPLE_BREAK, SKIP_CHILDREN, UNDERLYING_EXCEPTION_PROPERTY
 
Constructor Summary
LoopTag()
           
 
Method Summary
 org.milligan.eccles.EcclesReturnValue doAfterChildren(org.milligan.eccles.RunState state)
          Called after children have been processed.
 org.milligan.eccles.EcclesReturnValue doStartTag(org.milligan.eccles.RunState state)
          Called at the start of tag processing.
 java.lang.String getBegin()
           
 java.lang.String getEnd()
           
 java.lang.String getProperty()
           
 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
 void setBegin(java.lang.String begin)
           
 void setEnd(java.lang.String end)
           
 void setProperty(java.lang.String property)
           
 
Methods inherited from class org.milligan.eccles.Tag
addChildTag, 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

property

private java.lang.String property

begin

private java.lang.String begin

end

private java.lang.String end

tagSpecificProperties

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

Constructor Detail

LoopTag

public LoopTag()
Method Detail

setProperty

public void setProperty(java.lang.String property)

getProperty

public java.lang.String getProperty()

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


setBegin

public void setBegin(java.lang.String begin)

getBegin

public java.lang.String getBegin()

setEnd

public void setEnd(java.lang.String end)

getEnd

public java.lang.String getEnd()

doAfterChildren

public org.milligan.eccles.EcclesReturnValue doAfterChildren(org.milligan.eccles.RunState state)
                                                      throws org.milligan.eccles.EcclesException
Description copied from class: org.milligan.eccles.Tag
Called after children have been processed. Valid return values are PROCESS_CHILDREN (to go through the loop and process the children again) or SKIP_CHILDREN


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


getTagPropertiesForDisplay

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