|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwxtpages.indexEntry
An instance of indexEntry holds an entry for an index table.
Constructor Summary | |
indexEntry(java.lang.String w,
unitPage p,
java.lang.String f)
Creates a new instance of indexEntry |
Method Summary | |
int |
compare(indexEntry e)
Get the order of an entry compared to this entry |
java.lang.String |
getFragment()
Get the fragment for this indexEntry |
unitPage |
getPage()
Get the page for this indexEntry |
java.lang.String |
getWord()
Get the word for this indexEntry |
org.w3c.dom.Element |
getWordEntryElement(unitPage ownerP,
java.lang.String eltType)
Produce an element with a word-entry Introduce the style: ixentry |
org.w3c.dom.Element |
getWordHeadElement(unitPage ownerP,
java.lang.String eltType)
Produce an element with a word-heading Introduce the style: ixword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public indexEntry(java.lang.String w, unitPage p, java.lang.String f)
w
- The word we will indexp
- The page we will refer to, the page where w occursf
- The fragment within the pageMethod Detail |
public java.lang.String getWord()
public unitPage getPage()
public java.lang.String getFragment()
public int compare(indexEntry e)
e
- The indexentry to compare with
public org.w3c.dom.Element getWordHeadElement(unitPage ownerP, java.lang.String eltType)
ownerP
- The page that will own the indextableeltType
- Type of element, normally div or span
public org.w3c.dom.Element getWordEntryElement(unitPage ownerP, java.lang.String eltType)
eltType
- normally div or spanownerP
- The page that will own the indextable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |