Package org.eclipse.help
Interface IToc
- All Superinterfaces:
- IHelpResource,- IUAElement
- All Known Subinterfaces:
- IToc2
An 
IToc represents the root node of a toc, for either a complete
 toc (book) or a part of one to be assembled into a larger one.- Since:
- 2.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThis is element name used for TOC in XML files.static final StringThis is the attribute used for description topic in XML files.Fields inherited from interface org.eclipse.help.IHelpResourceHREF, LABEL
- 
Method SummaryMethods inherited from interface org.eclipse.help.IHelpResourcegetHref, getLabelMethods inherited from interface org.eclipse.help.IUAElementgetChildren, isEnabled
- 
Field Details- 
TOCThis is element name used for TOC in XML files.- See Also:
 
- 
TOPICThis is the attribute used for description topic in XML files.- See Also:
 
 
- 
- 
Method Details- 
getTopicsITopic[] getTopics()Obtains the topics directly contained by a toc.- Returns:
- Array of ITopic
 
- 
getTopicReturns a topic with the specified href defined by this TOC.
 If the TOC contains multiple topics with the same href only of them (arbitrarily chosen) will be returned.If no topic is specified, then the TOC description topic is returned, or null if there is no description topic for the TOC. - Parameters:
- href- the topic's URL or null
- Returns:
- ITopic or null
 
 
-