- java.lang.Object
-
- com.lowagie.text.pdf.events.IndexEvents.Entry
-
- Enclosing class:
- IndexEvents
public class IndexEvents.Entry extends Object
Class for an index entry.In the first step, only in1, in2,in3 and tag are used. After the collections of the index entries, pagenumbers are used.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPageNumberAndTag(int number, String tag)Add a pagenumber.StringgetIn1()Returns the in1.StringgetIn2()Returns the in2.StringgetIn3()Returns the in3.StringgetKey()Returns the key for the map-entry.intgetPageNumber()Returns the pagenumber for this entry.ListgetPagenumbers()Returns the pagenumbers.StringgetTag()Returns the tag.ListgetTags()Returns the tags.StringtoString()print the entry (only for test)
-
-
-
Method Detail
-
getIn1
public String getIn1()
Returns the in1.- Returns:
- Returns the in1.
-
getIn2
public String getIn2()
Returns the in2.- Returns:
- Returns the in2.
-
getIn3
public String getIn3()
Returns the in3.- Returns:
- Returns the in3.
-
getTag
public String getTag()
Returns the tag.- Returns:
- Returns the tag.
-
getPageNumber
public int getPageNumber()
Returns the pagenumber for this entry.- Returns:
- Returns the pagenumber for this entry.
-
addPageNumberAndTag
public void addPageNumberAndTag(int number, String tag)Add a pagenumber.- Parameters:
number- The page number.tag- The tag.
-
getKey
public String getKey()
Returns the key for the map-entry.- Returns:
- Returns the key for the map-entry.
-
getPagenumbers
public List getPagenumbers()
Returns the pagenumbers.- Returns:
- Returns the pagenumbers.
-
getTags
public List getTags()
Returns the tags.- Returns:
- Returns the tags.
-
-