java.lang.Object
org.milligan.eccles.Tag
org.milligan.eccles.tags.PropertyTag
- public class PropertyTag
- extends org.milligan.eccles.Tag
Tag for setting or defining a property
| 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, 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 |
set
private java.lang.String set
define
private java.lang.String define
value
private java.lang.String value
tagSpecificProperties
protected static final java.lang.String[] tagSpecificProperties
- Tag properties for output
intValue
private java.lang.String intValue
longValue
private java.lang.String longValue
doubleValue
private java.lang.String doubleValue
booleanValue
private java.lang.String booleanValue
PropertyTag
public PropertyTag()
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
setSet
public void setSet(java.lang.String set)
getSet
public java.lang.String getSet()
setDefine
public void setDefine(java.lang.String define)
getDefine
public java.lang.String getDefine()
setValue
public void setValue(java.lang.String value)
getValue
public java.lang.String getValue()
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
validate
public void validate()
throws org.milligan.eccles.EcclesException
- Description copied from class:
org.milligan.eccles.Tag
- Called upon tag creation during script reading. Perform extra validation that cannot be
handled by the schema
getTagPropertiesForDisplay
public java.lang.String[] getTagPropertiesForDisplay()
- Get a list of properties to be output
setIntValue
public void setIntValue(java.lang.String intValue)
getIntValue
public java.lang.String getIntValue()
setLongValue
public void setLongValue(java.lang.String longValue)
getLongValue
public java.lang.String getLongValue()
setDoubleValue
public void setDoubleValue(java.lang.String doubleValue)
getDoubleValue
public java.lang.String getDoubleValue()
setBooleanValue
public void setBooleanValue(java.lang.String booeanValue)
getBooleanValue
public java.lang.String getBooleanValue()