com.lowagie.text.pdf.events
public class IndexEvents.Entry extends Object
In the first step, only in1, in2,in3 and tag are used. After the collections of the index entries, pagenumbers are used.
Modifier and Type | Field and Description |
---|---|
private String |
in1
first level
|
private String |
in2
second level
|
private String |
in3
third level
|
private List |
pagenumbers
the list of all page numbers.
|
private String |
tag
the tag
|
private List |
tags
the list of all tags.
|
Constructor and Description |
---|
IndexEvents.Entry(String aIn1,
String aIn2,
String aIn3,
String aTag)
Create a new object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPageNumberAndTag(int number,
String tag)
Add a pagenumber.
|
String |
getIn1()
Returns the in1.
|
String |
getIn2()
Returns the in2.
|
String |
getIn3()
Returns the in3.
|
String |
getKey()
Returns the key for the map-entry.
|
int |
getPageNumber()
Returns the pagenumber for this entry.
|
List |
getPagenumbers()
Returns the pagenumbers.
|
String |
getTag()
Returns the tag.
|
List |
getTags()
Returns the tags.
|
String |
toString()
print the entry (only for test)
|
private String in1
private String in2
private String in3
private String tag
private List pagenumbers
private List tags
public String getIn1()
public String getIn2()
public String getIn3()
public String getTag()
public int getPageNumber()
public void addPageNumberAndTag(int number, String tag)
number
- The page number.tag
- public String getKey()
public List getPagenumbers()
public List getTags()