Interface BlockParser
-
- All Known Implementing Classes:
DefinitionListBlockParser
,FigureBlockParser
,HorizontalRuleBlockParser
,ListBlockParser
,ParagraphBlockParser
,SectionBlockParser
,TableBlockParser
,VerbatimBlockParser
public interface BlockParser
BlockParser interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source)
accept.Block
visit(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source)
visit.
-
-
-
Method Detail
-
accept
boolean accept(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source)
accept.- Parameters:
line
- the line.source
- the source.- Returns:
- boolean true if valid.
-
visit
Block visit(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source) throws org.apache.maven.doxia.parser.ParseException
visit.- Parameters:
line
- the line.source
- the source.- Returns:
- boolean true if valid.
- Throws:
org.apache.maven.doxia.parser.ParseException
- if any.
-
-