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 int
ConstantBULLETED_LIST=0
static final int
ConstantNUMBERED_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:
accept
in 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:
visit
in interfaceBlockParser
- Parameters:
line
- the line.source
- the source.- Returns:
- boolean true if valid.
- Throws:
org.apache.maven.doxia.parser.ParseException
- if any.
-