Interface ITOCTree
-
public interface ITOCTree
Represents a whole TOC tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TOCNode
findTOC(java.lang.String tocId)
Gets the TOCNode with the specified id.java.util.List
findTOCByValue(java.lang.Object tocValue)
Gets the TOCNodes with specified TOC value.TOCNode
getRoot()
Gets the root node of a TOC tree.
-
-
-
Method Detail
-
findTOC
TOCNode findTOC(java.lang.String tocId)
Gets the TOCNode with the specified id. Root of the whole TOC tree will be returned iftocId
isnull
.- Parameters:
tocNodeId
- the id of the toc.- Returns:
- TOCNode with specified Id. NULL if not found.
-
findTOCByValue
java.util.List findTOCByValue(java.lang.Object tocValue)
Gets the TOCNodes with specified TOC value.- Parameters:
tocValue
- the name of the toc.- Returns:
- List of all tocs with the specified name.
-
getRoot
TOCNode getRoot()
Gets the root node of a TOC tree.- Returns:
- a TOCNode tree root.
-
-