Class AptParser.Section
- java.lang.Object
-
- org.apache.maven.doxia.module.apt.AptParser.Block
-
- org.apache.maven.doxia.module.apt.AptParser.Section
-
- Direct Known Subclasses:
AptParser.Section1
,AptParser.Section2
,AptParser.Section3
,AptParser.Section4
,AptParser.Section5
- Enclosing class:
- AptParser
private abstract class AptParser.Section extends AptParser.Block
A Section Block.
-
-
Field Summary
-
Fields inherited from class org.apache.maven.doxia.module.apt.AptParser.Block
indent, text, textLength, type
-
-
Constructor Summary
Constructors Constructor Description Section(int type, int indent, java.lang.String firstLine)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
Title()
Start a title.abstract void
Title_()
End a title.void
traverse()
Parse the block.-
Methods inherited from class org.apache.maven.doxia.module.apt.AptParser.Block
getIndent, getType, skipFromLeftToRightBracket, skipLeadingBullets, skipSpaceFrom, traverseText, traverseText
-
-
-
-
Constructor Detail
-
Section
Section(int type, int indent, java.lang.String firstLine) throws AptParseException
Constructor.- Parameters:
type
- type.indent
- indent.firstLine
- the first line.- Throws:
AptParseException
- AptParseException
-
-
Method Detail
-
traverse
public void traverse() throws AptParseException
Parse the block.- Specified by:
traverse
in classAptParser.Block
- Throws:
AptParseException
- if something goes wrong.
-
Title
public abstract void Title()
Start a title.
-
Title_
public abstract void Title_()
End a title.
-
-