Class StateTagDescriptor

java.lang.Object
org.chenile.stm.model.StateTagDescriptor

public class StateTagDescriptor extends Object
This object stores the various tags that are supported by the XML configurator along with their associated properties.
Author:
Raja Shankar Kolluru
  • Field Details

    • id

      private String id
      The State ID. This is useful if you want to create a specific tag for one state only.
    • tag

      private String tag
      Name of the tag
    • componentName

      private String componentName
      The component name that needs to be instantiated when this tag is encountered.
    • initialState

      private boolean initialState
      Is this the initial state?
    • manualState

      private boolean manualState
      Is this tag representing a manual state? (or a view state)
    • descriptorClass

      private Class<? extends StateDescriptor> descriptorClass
      The descriptor class for this tag. It should extend StateDescriptor.
    • props

      public Map<String,String> props
  • Constructor Details

    • StateTagDescriptor

      public StateTagDescriptor()
  • Method Details

    • isInitialState

      public boolean isInitialState()
    • setInitialState

      public void setInitialState(boolean initialState)
    • getDescriptorClass

      public Class<? extends StateDescriptor> getDescriptorClass()
    • setDescriptorClass

      public void setDescriptorClass(Class<? extends StateDescriptor> descriptorClass)
    • setTag

      public void setTag(String tag)
    • getTag

      public String getTag()
    • setComponentName

      public void setComponentName(String componentName)
    • getComponentName

      public String getComponentName()
    • setManualState

      public void setManualState(boolean manualState)
    • isManualState

      public boolean isManualState()
    • getId

      public String getId()
    • setId

      public void setId(String id)