|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.events.IndexEvents.Entry
public class IndexEvents.Entry
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.
Field Summary | |
---|---|
private java.lang.String |
in1
first level |
private java.lang.String |
in2
second level |
private java.lang.String |
in3
third level |
private java.util.List |
pagenumbers
the list of all page numbers. |
private java.lang.String |
tag
the tag |
private java.util.List |
tags
the list of all tags. |
Constructor Summary | |
---|---|
IndexEvents.Entry(java.lang.String aIn1,
java.lang.String aIn2,
java.lang.String aIn3,
java.lang.String aTag)
Create a new object. |
Method Summary | |
---|---|
void |
addPageNumberAndTag(int number,
java.lang.String tag)
Add a pagenumber. |
java.lang.String |
getIn1()
Returns the in1. |
java.lang.String |
getIn2()
Returns the in2. |
java.lang.String |
getIn3()
Returns the in3. |
java.lang.String |
getKey()
Returns the key for the map-entry. |
int |
getPageNumber()
Returns the pagenumber for this entry. |
java.util.List |
getPagenumbers()
Returns the pagenumbers. |
java.lang.String |
getTag()
Returns the tag. |
java.util.List |
getTags()
Returns the tags. |
java.lang.String |
toString()
print the entry (only for test) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String in1
private java.lang.String in2
private java.lang.String in3
private java.lang.String tag
private java.util.List pagenumbers
private java.util.List tags
Constructor Detail |
---|
public IndexEvents.Entry(java.lang.String aIn1, java.lang.String aIn2, java.lang.String aIn3, java.lang.String aTag)
aIn1
- The first level.aIn2
- The second level.aIn3
- The third level.aTag
- The tag.Method Detail |
---|
public java.lang.String getIn1()
public java.lang.String getIn2()
public java.lang.String getIn3()
public java.lang.String getTag()
public int getPageNumber()
public void addPageNumberAndTag(int number, java.lang.String tag)
number
- The page number.tag
- public java.lang.String getKey()
public java.util.List getPagenumbers()
public java.util.List getTags()
public java.lang.String toString()
toString
in class java.lang.Object
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |