Class StackTable

java.lang.Object
com.nomagic.magicreport.format.html.StackTable
Direct Known Subclasses:
RTFStackTable

@OpenApiAll public class StackTable extends Object
Class for keeping value of tag and its position in stack or keeping value of table attribute.
Since:
May 28, 2009
  • Constructor Details

    • StackTable

      public StackTable(String tag)
      Constructor.
      Parameters:
      tag - attribute name of html tag
    • StackTable

      public StackTable(String tag, String value, int pos)
      Constructor for tag and its position.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
    • StackTable

      public StackTable(String tag, String value, int pos, String[] attributeValueList)
      Constructor for tag, its position and attributeList.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
      attributeValueList - Array of tag attribute
  • Method Details

    • getTag

      public String getTag()
      Return a html tag name or attribute name.
      Returns:
      the html tag name or attribute name.
    • setTag

      public void setTag(String tag)
      Set a html tag name or attribute name.
      Parameters:
      tag - html tag name or attribute name.
    • getValue

      public String getValue()
      Return a value of attribute.
      Returns:
      the value of attribute.
    • setValue

      public void setValue(String value)
      Set a value of attribute.
      Parameters:
      value - the value of attribute.
    • getPos

      public int getPos()
      Return a position of tag name in stack.
      Returns:
      the position of tag name in stack.
    • setPos

      public void setPos(int pos)
      Set a position of tag name in stack.
      Parameters:
      pos - the position of tag name in stack.
    • getAttributeValueList

      public String[] getAttributeValueList()
      Return a attributeValueList.
      Returns:
      the attributeValueList
    • setAttributeValueList

      public void setAttributeValueList(String[] attributeValueList)
      Set a attributeValueList.
      Parameters:
      attributeValueList - the attributeValueList to set