public class Section extends Object
| Constructor and Description |
|---|
Section(List<AsciiDocPage> pages,
TocNode rootNode,
String filepath,
String url,
String prettyName,
String versionPrettyName,
String baseName,
SectionVersion sectionVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPageMatching(AsciiDocPage page) |
static Section |
fromDirectoryAndSectionVersion(File directory,
SectionVersion sectionVersion) |
String |
getBaseName() |
String |
getFilepath() |
List<AsciiDocPage> |
getPages() |
String |
getPrettyName() |
TocNode |
getRootNode() |
SectionVersion |
getSectionVersion() |
String |
getUrl() |
String |
getVersionPrettyName() |
static String |
getVersionUrl(String directoryPath,
String sectionName) |
boolean |
isRoot() |
boolean |
isVersionless() |
public Section(List<AsciiDocPage> pages, TocNode rootNode, String filepath, String url, String prettyName, String versionPrettyName, String baseName, SectionVersion sectionVersion)
public List<AsciiDocPage> getPages()
public TocNode getRootNode()
public String getFilepath()
public String getUrl()
public String getPrettyName()
public String getVersionPrettyName()
public String getBaseName()
public SectionVersion getSectionVersion()
public boolean isRoot()
public boolean isVersionless()
public boolean containsPageMatching(AsciiDocPage page)
public static Section fromDirectoryAndSectionVersion(File directory, SectionVersion sectionVersion)
Copyright © 2016 MuleSoft, Inc.. All rights reserved.