|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Parser is responsible for parsing any document in a supported front-end format, and emitting the standard Doxia events, which can then be consumed by any Doxia Sink.
| Field Summary | |
static int |
JUSTIFY_CENTER
Used for table cells: justify center. |
static int |
JUSTIFY_LEFT
Used for table cells: justify left. |
static int |
JUSTIFY_RIGHT
Used for table cells: justify right. |
static String |
ROLE
The Plexus lookup role. |
static int |
TXT_TYPE
Text parser type |
static int |
UNKNOWN_TYPE
Unknown parser type |
static int |
XML_TYPE
XML parser type |
| Method Summary | |
int |
getType()
The parser type value could be UNKNOWN_TYPE, TXT_TYPE or
XML_TYPE. |
void |
parse(Reader source,
org.apache.maven.doxia.sink.Sink sink)
Parses the given source model and emits Doxia events into the given sink. |
| Field Detail |
public static final String ROLE
public static final int UNKNOWN_TYPE
public static final int TXT_TYPE
public static final int XML_TYPE
public static final int JUSTIFY_CENTER
public static final int JUSTIFY_LEFT
public static final int JUSTIFY_RIGHT
| Method Detail |
public void parse(Reader source,
org.apache.maven.doxia.sink.Sink sink)
throws ParseException
source - A reader that provides the source document.sink - A sink that consumes the Doxia events.
ParseException - if the model could not be parsed.public int getType()
UNKNOWN_TYPE, TXT_TYPE or
XML_TYPE.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||