public class ListBlockParser extends Object implements BlockParser
ListBlockParser class.
| Modifier and Type | Field and Description |
|---|---|
static int |
BULLETED_LIST
Constant
BULLETED_LIST=0 |
static int |
NUMBERED_LIST
Constant
NUMBERED_LIST=1 |
| Constructor and Description |
|---|
ListBlockParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String line,
ByLineSource source)
accept.
|
Block |
visit(String line,
ByLineSource source)
visit.
|
public static final int BULLETED_LIST
BULLETED_LIST=0public static final int NUMBERED_LIST
NUMBERED_LIST=1public boolean accept(String line, ByLineSource source)
accept in interface BlockParserline - the line.source - the source.public Block visit(String line, ByLineSource source) throws ParseException
visit in interface BlockParserline - the line.source - the source.ParseException - if any.Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.