Class StackTable
java.lang.Object
com.nomagic.magicreport.format.html.StackTable
- Direct Known Subclasses:
RTFStackTable
Class for keeping value of tag and its position in stack or keeping value of table attribute.
- Since:
- May 28, 2009
-
Constructor Summary
ConstructorsConstructorDescriptionStackTable(String tag) Constructor.StackTable(String tag, String value, int pos) Constructor for tag and its position.StackTable(String tag, String value, int pos, String[] attributeValueList) Constructor for tag, its position and attributeList. -
Method Summary
Modifier and TypeMethodDescriptionString[]Return a attributeValueList.intgetPos()Return a position of tag name in stack.getTag()Return a html tag name or attribute name.getValue()Return a value of attribute.voidsetAttributeValueList(String[] attributeValueList) Set a attributeValueList.voidsetPos(int pos) Set a position of tag name in stack.voidSet a html tag name or attribute name.voidSet a value of attribute.
-
Constructor Details
-
StackTable
Constructor.- Parameters:
tag- attribute name of html tag
-
StackTable
Constructor for tag and its position.- Parameters:
tag- html tag name or attribute namevalue- attribute valuepos- position in stack
-
StackTable
Constructor for tag, its position and attributeList.- Parameters:
tag- html tag name or attribute namevalue- attribute valuepos- position in stackattributeValueList- Array of tag attribute
-
-
Method Details
-
getTag
Return a html tag name or attribute name.- Returns:
- the html tag name or attribute name.
-
setTag
Set a html tag name or attribute name.- Parameters:
tag- html tag name or attribute name.
-
getValue
Return a value of attribute.- Returns:
- the value of attribute.
-
setValue
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
Return a attributeValueList.- Returns:
- the attributeValueList
-
setAttributeValueList
Set a attributeValueList.- Parameters:
attributeValueList- the attributeValueList to set
-