Class HeaderTopic

  • All Implemented Interfaces:
    Topic

    public class HeaderTopic
    extends PathTopic
    • Constructor Summary

      Constructors 
      Constructor Description
      HeaderTopic​(com.vladsch.flexmark.ast.Heading heading, java.nio.file.Path p)  
    • Method Summary

      Modifier and Type Method Description
      int getLevel()
      Get a level associated with this topic.
      java.lang.String getName()  
      java.lang.String getPath()  
      void setLevel​(int level)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HeaderTopic

        public HeaderTopic​(com.vladsch.flexmark.ast.Heading heading,
                           java.nio.file.Path p)
    • Method Detail

      • getLevel

        public int getLevel()
        Description copied from interface: Topic
        Get a level associated with this topic. Lower numbers represent broader topics. The is akin to "indentation level".
        Specified by:
        getLevel in interface Topic
        Overrides:
        getLevel in class PathTopic
        Returns:
        The level of nesting for this topic
      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface Topic
        Overrides:
        getPath in class PathTopic
        Returns:
        the logical path associated with this topic, without the extension.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class PathTopic