|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.visualization.engines.blind.html.util.Id2LineViaActfId
public class Id2LineViaActfId
Utility class for mapping information between HTML IDs and line number of source HTML. This class uses ACTF_ID to create the mapping information.
| Constructor Summary | |
|---|---|
Id2LineViaActfId(Map<Integer,Integer> id2AccId,
Vector<Html2ViewMapData> html2ViewMapDataV)
Constructor of the class. |
|
Id2LineViaActfId(Map<Integer,Integer> id2AccId,
Vector<Html2ViewMapData> html2ViewMapDataV,
boolean is1base)
Constructor of the class. |
|
| Method Summary | |
|---|---|
int |
getLine(int nodeId)
Get corresponding line number from ID |
Html2ViewMapData |
getViewMapData(int nodeId)
Get corresponding Html2ViewMapData of target ID |
Html2ViewMapData |
getViewMapData(Integer nodeId)
Get corresponding Html2ViewMapData of target ID |
boolean |
is1base()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Id2LineViaActfId(Map<Integer,Integer> id2AccId,
Vector<Html2ViewMapData> html2ViewMapDataV)
id2AccId - mapping information between ID and ACTF_IDhtml2ViewMapDataV - mapping information between ACTF_ID and line number. ACTF_ID
is used as index of Vector.
public Id2LineViaActfId(Map<Integer,Integer> id2AccId,
Vector<Html2ViewMapData> html2ViewMapDataV,
boolean is1base)
id2AccId - mapping information between ID and ACTF_IDhtml2ViewMapDataV - mapping information between ACTF_ID and line number. ACTF_ID
is used as index of Vector.is1base - true if line number starts from 1| Method Detail |
|---|
public int getLine(int nodeId)
nodeId - target ID
public Html2ViewMapData getViewMapData(int nodeId)
Html2ViewMapData of target ID
nodeId - target ID
Html2ViewMapDatapublic Html2ViewMapData getViewMapData(Integer nodeId)
Html2ViewMapData of target ID
nodeId - target ID
Html2ViewMapDatapublic boolean is1base()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||