|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.webcontent.TOCGeneratorService
public class TOCGeneratorService
Created by The eXo Platform SAS Author : DANG TAN DUNG dzungdev@gmail.com Jul 29, 2008
| Nested Class Summary | |
|---|---|
class |
TOCGeneratorService.Heading
The Class Heading. |
| Constructor Summary | |
|---|---|
TOCGeneratorService()
|
|
| Method Summary | |
|---|---|
java.util.List<TOCGeneratorService.Heading> |
extractHeadings(org.exoplatform.services.html.HTMLDocument document)
Extract headings. |
java.lang.String |
getTOC(javax.jcr.Node htmlNode)
Gets the tOC. |
void |
updateTOC(javax.jcr.Node htmlFile,
java.util.List<TOCGeneratorService.Heading> headingList)
Update toc. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TOCGeneratorService()
| Method Detail |
|---|
public void updateTOC(javax.jcr.Node htmlFile,
java.util.List<TOCGeneratorService.Heading> headingList)
throws java.lang.Exception
htmlFile - the html fileheadingList - the heading list
java.lang.Exception - the exception
public java.lang.String getTOC(javax.jcr.Node htmlNode)
throws java.lang.Exception
htmlNode - the html node
java.lang.Exception - the exception
public java.util.List<TOCGeneratorService.Heading> extractHeadings(org.exoplatform.services.html.HTMLDocument document)
throws java.lang.Exception
document - the document
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||