public class TitleExtractor extends Object
Constructor and Description |
---|
TitleExtractor() |
Modifier and Type | Method and Description |
---|---|
String |
getMapTitle(Element map)
Get the title of a map
|
String |
getNavTitle(Element topicref)
Gets the title belonging to a topicref (or specialized topicref)
element.Implementation looks first for
topicmeta/navtitle, then for linktext element, then for navtitle attribute
|
String |
getTopicTitle(Element topic)
Get the title of a topic
|
public String getMapTitle(Element map)
map
- the map root element to analyzepublic String getTopicTitle(Element topic)
topic
- the topic root element to analyzepublic String getNavTitle(Element topicref)
topicref
- the topicref elementCopyright © 2024. All rights reserved.