public class ActionTagInfo extends BaseTagInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_VAR_NAME |
Constructor and Description |
---|
ActionTagInfo(ActionBlock actionblock)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionClass(int actionindex)
Returns the actionid for the given index of an acion in the block
|
java.lang.String |
getActionClass(java.lang.String name)
Returns the actionid for the given action block name
|
int |
getActionCount()
Returns the number of actions defined in the block.
|
java.lang.String |
getActionid(int actionindex)
Returns the actionid for the given index of an acion in the block
|
java.lang.String |
getActionid(java.lang.String name)
Returns the actionid for the given action block name
|
java.lang.String |
getActionName(int actionindex)
Returns the name of an action for the given index
|
java.util.HashMap |
getActionProperties(int actionindex)
Gets the property values for the given Action in the Block.
|
java.util.HashMap |
getActionProperties(java.lang.String name)
Gets the property values for the given Action in the Block.
|
java.lang.String |
getActionProperty(int actionindex,
java.lang.String propertyid)
Gets a property value for the given Action in the Block.
|
java.lang.String |
getActionProperty(java.lang.String name,
java.lang.String propertyid)
Gets a property value for the given Action in the Block.
|
java.util.HashMap |
getBlockProperties()
Gets the properties for the block.
|
java.lang.String |
getBlockProperty(java.lang.String propertyid)
Gets a block property.
|
ErrorHandler |
getErrorHandler()
Gets the error handler for the block.
|
java.lang.String |
getVersionid(int actionindex)
Returns the versionid for the given index of an acion in the block
|
java.lang.String |
getVersionid(java.lang.String name)
Returns the versionid for the given action block name
|
boolean |
hasErrors() |
boolean |
hasInfoErrors() |
void |
setErrorHandler(ErrorHandler errorHandler)
Sets the errorHandlerr for the block.
|
getErrorCodes, getErrorStack, getLastError, setErrorStack
public static final java.lang.String TAG_VAR_NAME
public ActionTagInfo(ActionBlock actionblock)
public int getActionCount()
public java.lang.String getActionName(int actionindex)
actionindex
- The index of the action within the block.public java.lang.String getActionid(int actionindex)
actionindex
- The index of the action within the block.public java.lang.String getActionid(java.lang.String name)
name
- The name of the action in the block.public java.lang.String getActionClass(int actionindex) throws ActionException
actionindex
- The index of the action within the block.ActionException
public java.lang.String getActionClass(java.lang.String name) throws ActionException
name
- The name of the action in the block.ActionException
public java.lang.String getVersionid(int actionindex)
actionindex
- The index of the action within the block.public java.lang.String getVersionid(java.lang.String name) throws ActionException
name
- The name of the action in the block.ActionException
public java.util.HashMap getActionProperties(java.lang.String name)
name
- Unique identifier used to identify the action inside the block.public java.util.HashMap getActionProperties(int actionindex)
actionindex
- The index of the action within the block.public java.lang.String getActionProperty(java.lang.String name, java.lang.String propertyid)
name
- Unique identifier used to identify the action inside the block.propertyid
- The name of the property.public java.lang.String getActionProperty(int actionindex, java.lang.String propertyid)
actionindex
- The index of the action within the block.propertyid
- The name of the property.public java.util.HashMap getBlockProperties()
public java.lang.String getBlockProperty(java.lang.String propertyid)
propertyid
- The property identifier.public void setErrorHandler(ErrorHandler errorHandler)
errorHandler
- The errorHandlerr.public ErrorHandler getErrorHandler()
public boolean hasErrors()
public boolean hasInfoErrors()