Class ParagraphBlockParser
java.lang.Object
org.apache.maven.doxia.module.confluence.parser.ParagraphBlockParser
- All Implemented Interfaces:
BlockParser
ParagraphBlockParser class.
-
Constructor Summary
ConstructorsConstructorDescriptionParagraphBlockParser(BlockParser[] parsers) Constructor for ParagraphBlockParser. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept.visit.Visit the Block.
-
Constructor Details
-
ParagraphBlockParser
Constructor for ParagraphBlockParser.
- Parameters:
parsers- the parsers.
-
-
Method Details
-
accept
accept.- Specified by:
acceptin interfaceBlockParser- Parameters:
line- the line.source- the source.- Returns:
- boolean true if valid.
-
visit
public Block visit(String line, org.apache.maven.doxia.util.ByLineSource source, boolean generateParagraphTags) throws org.apache.maven.doxia.parser.ParseException Visit the Block.- Parameters:
line- the line to visit.source- the source.generateParagraphTags- whether to generate a paragraph.- Returns:
- the visited Block.
- Throws:
org.apache.maven.doxia.parser.ParseException- if any.
-
visit
public Block visit(String line, org.apache.maven.doxia.util.ByLineSource source) throws org.apache.maven.doxia.parser.ParseException visit.- Specified by:
visitin interfaceBlockParser- Parameters:
line- the line.source- the source.- Returns:
- boolean true if valid.
- Throws:
org.apache.maven.doxia.parser.ParseException- if any.
-