Class ListBlockParser
java.lang.Object
org.apache.maven.doxia.module.confluence.parser.list.ListBlockParser
- All Implemented Interfaces:
BlockParser
ListBlockParser class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstantBULLETED_LIST=0static final intConstantNUMBERED_LIST=1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(String line, ByLineSource source) accept.private voidaddItem(TreeListBuilder treeListBuilder, StringBuilder text) private intprivate booleanisBulletedList(String line, int deph) private booleanvisit(String line, ByLineSource source) visit.
-
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
visit.- Specified by:
visitin interfaceBlockParser- Parameters:
line- the line.source- the source.- Returns:
- boolean true if valid.
- Throws:
ParseException- if any.
-
addItem
-
getLevel
-
isBulletedList
-
isList
-