|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.visualization.eval.html.statistics.HeadingsData
public class HeadingsData
HeadingsData is used for heading tag information
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.actf.visualization.eval.html.statistics.IPageStatisticsTag |
|---|
ALIGN, ALT, BASE, BGCOLOR, DEST, ERROR, EXISTENCE, FLASH, FLASH_INFO, HEADING, HEADINGS, HEIGHT, HREF, ID, IMAGE, IMAGES, ITEM, JAVASCRIPT, MAX, MEAN, MIN, MISSING, NAME, ORG_MAX, ORG_MEAN, ORG_MIN, REACHINGTIME, SKIPMAIN, SRC, TARGET_STRING, TOTAL, URL, VALID, VALUE, WIDTH, WRONG, XPATH |
| Constructor Summary | |
|---|---|
HeadingsData(Element targetE,
String text)
Constructor of the class |
|
HeadingsData(String tagName,
String text,
String xpath)
Constructor of the class |
|
| Method Summary | |
|---|---|
String |
getItemXML()
Get heading tag information as XML fragment |
String |
getTagName()
Get tag name of the heading |
String |
getText()
Get heading text |
String |
getXpath()
Get XPath of the heading |
static HeadingsData |
parseItem(Attributes atts)
Extract heading tag information from XML fragment and store information into new HeadingsData instance. |
void |
setTagName(String tagName)
Set tag name of the heading |
void |
setText(String text)
Set heading text |
void |
setXpath(String xpath)
Set XPath of the heading |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeadingsData(Element targetE,
String text)
targetE - target heading elementtext - heading text
public HeadingsData(String tagName,
String text,
String xpath)
tagName - target heading tag nametext - heading textxpath - XPath of target heading| Method Detail |
|---|
public String getXpath()
public void setXpath(String xpath)
xpath - public String getTagName()
public String getText()
public void setTagName(String tagName)
tagName - tag namepublic void setText(String text)
text - heading textpublic String getItemXML()
public static HeadingsData parseItem(Attributes atts)
throws StatisticsDataFormatException
HeadingsData instance.
atts - target Attributes
HeadingsData
StatisticsDataFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||