Class ListBlockParser
java.lang.Object
org.apache.maven.doxia.module.confluence.parser.list.ListBlockParser
- All Implemented Interfaces:
BlockParser
ListBlockParser class.
- Author:
- Jason van Zyl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstantBULLETED_LIST=0static final intConstantNUMBERED_LIST=1 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BULLETED_LIST
public static final int BULLETED_LISTConstantBULLETED_LIST=0- See Also:
-
NUMBERED_LIST
public static final int NUMBERED_LISTConstantNUMBERED_LIST=1- See Also:
-
-
Constructor Details
-
ListBlockParser
public ListBlockParser()
-
-
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) 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.
-