Class AptParser.Section3

java.lang.Object
org.apache.maven.doxia.module.apt.AptParser.Section3
Enclosing class:
AptParser

public class AptParser.Section3 extends Object
A Section3 Block.
  • Field Details

    • type

      protected int type
      type.
    • indent

      protected int indent
      indent.
    • text

      protected String text
      text.
    • textLength

      protected int textLength
      textLength.
  • Method Details

    • Title

      public void Title()
      Start a title.
    • Title_

      public void Title_()
      End a title.
    • traverse

      public void traverse() throws AptParseException
      Parse the block.
      Throws:
      AptParseException - if something goes wrong.
    • getType

      public final int getType()
      Return the block type.
      Returns:
      int
    • getIndent

      public final int getIndent()
      Return the block indent.
      Returns:
      int
    • traverseText

      protected void traverseText(int begin) throws AptParseException
      Traverse the text.
      Parameters:
      begin - offset.
      Throws:
      AptParseException - if something goes wrong.
    • traverseText

      protected void traverseText(int begin, int end) throws AptParseException
      Traverse the text.
      Parameters:
      begin - offset.
      end - offset.
      Throws:
      AptParseException - if something goes wrong.
    • skipLeadingBullets

      protected int skipLeadingBullets()
      Skip spaces.
      Returns:
      int.
    • skipFromLeftToRightBracket

      protected int skipFromLeftToRightBracket(int i) throws AptParseException
      Skip brackets.
      Parameters:
      i - offset.
      Returns:
      int.
      Throws:
      AptParseException - if something goes wrong.
    • skipSpaceFrom

      protected final int skipSpaceFrom(int i)
      Skip spaces.
      Parameters:
      i - offset.
      Returns:
      int.