Package | Description |
---|---|
org.apache.maven.doxia.module.twiki | |
org.apache.maven.doxia.module.twiki.parser |
Modifier and Type | Method and Description |
---|---|
java.util.List<Block> |
TWikiParser.parse(ByLineSource source)
parse.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TWikiParser.getTitle(java.util.List<Block> blocks,
ByLineSource source)
Guess a title for the page.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractFatherBlock
Generic Block for the Block that have child blocks.
|
(package private) class |
AnchorBlock
Represents an anchor
|
(package private) class |
BoldBlock
Block that represents the bold text format
|
(package private) class |
HorizontalRuleBlock
Represents an horizontal block
|
(package private) class |
ImageBlock
Block that represents an image.
|
(package private) class |
ItalicBlock
Block that represents the italic text format
|
(package private) class |
LinkBlock
Block that represents a link.
|
(package private) class |
ListBlock
- item1
- item2
- item2.1
...
|
(package private) class |
ListItemBlock
Block that represents the item in a list
|
(package private) class |
MonospaceBlock
Block that represents the monospaced text format
|
(package private) class |
NopBlock
Block that not represent anything
|
(package private) class |
NumeratedListBlock
1.
|
(package private) class |
ParagraphBlock |
class |
SectionBlock
Block that represents a section
|
(package private) class |
TableBlock
Represents a table
|
(package private) class |
TableCellBlock
Table cell
|
(package private) class |
TableCellHeaderBlock
Table Cell headear
|
(package private) class |
TableRowBlock
Represens a Table Row
|
(package private) class |
TextBlock
Block that holds plain text
|
(package private) class |
UnorderedListBlock
- item1
- item2
- item2.1
...
|
(package private) class |
VerbatimBlock
Represents a verbatim block
|
(package private) class |
WikiWordBlock
Represent a WikiWord
|
(package private) class |
XHTMLBlock
An XHTML Block
|
Modifier and Type | Field and Description |
---|---|
private Block[] |
AbstractFatherBlock.childBlocks |
private Block |
WikiWordBlock.content
content to show in the wiki word link
|
private Block |
LinkBlock.content
link text
|
Modifier and Type | Method and Description |
---|---|
Block |
FormatBlockFactory.createBlock(Block[] childrens)
factory method of format
Block |
private Block |
TextParser.createLink(java.lang.String link,
java.lang.String showText)
Decides between a WikiWordBlock or a a LinkBlock
|
Block[] |
AbstractFatherBlock.getBlocks()
Returns the childBlocks.
|
(package private) Block[] |
FormatedTextParser.parse(java.lang.String line) |
Block |
ParagraphBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
SectionBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
VerbatimBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
HRuleBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
BlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
GenericListBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
TableBlockParser.visit(java.lang.String line,
ByLineSource source)
visit.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Block> |
TextParser.parse(java.lang.String line)
parse.
|
private java.util.List<Block> |
FormatedTextParser.parseFormat(java.lang.String line)
Parse text format (bold, italic...)
TODO too many lines!!
|
Modifier and Type | Method and Description |
---|---|
Block |
FormatBlockFactory.createBlock(Block[] childrens)
factory method of format
Block |
Modifier and Type | Method and Description |
---|---|
private void |
TextParser.parseAnchor(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher anchorMatcher)
Parses the anchor
|
private void |
TextParser.parseForcedLink(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher forcedLinkMatcher)
Parses the link
|
private void |
TextParser.parseImage(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher imageTagMatcher)
Parses the image tag
|
private void |
TextParser.parseLink(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher linkMatcher)
Parses a link
|
private void |
TextParser.parseUrl(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher urlMatcher)
Parses the url
|
private void |
TextParser.parseWiki(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher wikiMatcher)
Parses a wiki word
|
private void |
TextParser.parseXHTML(java.lang.String line,
java.util.List<Block> ret,
java.util.regex.Matcher xhtmlMatcher)
Parses xhtml.
|
Constructor and Description |
---|
AbstractFatherBlock(Block[] childBlocks)
Creates the AbstractFatherBlock.
|
BoldBlock(Block[] childBlocks)
Creates the BoldBlock.
|
ItalicBlock(Block[] childBlocks)
Creates the BoldBlock.
|
LinkBlock(java.lang.String reference,
Block content)
Creates the LinkBlock.
|
ListItemBlock(Block[] blocks) |
ListItemBlock(Block[] blocks,
ListBlock innerList)
Creates the ListItemBlock.
|
MonospaceBlock(Block[] childBlocks)
Creates the MonospaceBlock.
|
ParagraphBlock(Block[] blocks) |
SectionBlock(java.lang.String title,
int level,
Block[] blocks)
Creates the SectionBlock.
|
TableBlock(Block[] childBlocks)
Creates the TableBlock.
|
TableCellBlock(Block[] childBlocks)
Creates the TableCellBlock.
|
TableCellHeaderBlock(Block[] childBlocks)
Creates the TableCellHeaderBlock.
|
TableRowBlock(Block[] childBlocks)
Creates the TableRowBlock.
|
VerbatimBlock(Block[] childBlocks)
Creates the VerbatimBlock.
|
WikiWordBlock(java.lang.String aWikiword,
Block content,
WikiWordLinkResolver resolver)
Creates the WikiWordBlock.
|