Class AptParser.MacroBlock
java.lang.Object
org.apache.maven.doxia.module.apt.AptParser.Block
org.apache.maven.doxia.module.apt.AptParser.MacroBlock
- Enclosing class:
- AptParser
A MacroBlock Block.
-
Field Summary
Fields inherited from class org.apache.maven.doxia.module.apt.AptParser.Block
indent, text, textLength, type
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.doxia.module.apt.AptParser.Block
getIndent, getType, skipFromLeftToRightBracket, skipLeadingBullets, skipSpaceFrom, traverseText, traverseText
-
Constructor Details
-
MacroBlock
MacroBlock(int indent, String firstLine) throws AptParseException Constructor.- Parameters:
indent
- indent.firstLine
- the first line.- Throws:
AptParseException
- AptParseException
-
-
Method Details
-
traverse
Parse the block.- Specified by:
traverse
in classAptParser.Block
- Throws:
AptParseException
- if something goes wrong.
-
escapeForMacro
escapeForMacro- Parameters:
s
- String- Returns:
- String
-
unescapeForMacro
unescapeForMacro- Parameters:
s
- String- Returns:
- String
-