|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylyn.wikitext.core.parser.MarkupParser
public class MarkupParser
A markup processor that can process lightweight markup formats such as Textile.
Constructor Summary | |
---|---|
MarkupParser()
|
|
MarkupParser(MarkupLanguage markupLanaguage)
|
|
MarkupParser(MarkupLanguage markupLanaguage,
DocumentBuilder builder)
|
Method Summary | |
---|---|
DocumentBuilder |
getBuilder()
the builder to which parse results are propagated |
MarkupLanguage |
getMarkupLanguage()
the markup language of the markup to process |
void |
parse(Reader markupContent)
|
void |
parse(Reader markupContent,
boolean asDocument)
|
void |
parse(String markupContent)
|
void |
parse(String markupContent,
boolean asDocument)
|
String |
parseToHtml(String markupContent)
parse the given markup content and produce the result as an HTML document. |
void |
setBuilder(DocumentBuilder builder)
set the builder to which parse results are propagated |
void |
setMarkupLanguage(MarkupLanguage markupLanaguage)
set the markup language of the markup to process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkupParser()
public MarkupParser(MarkupLanguage markupLanaguage, DocumentBuilder builder)
public MarkupParser(MarkupLanguage markupLanaguage)
Method Detail |
---|
public MarkupLanguage getMarkupLanguage()
public void setMarkupLanguage(MarkupLanguage markupLanaguage)
public DocumentBuilder getBuilder()
public void setBuilder(DocumentBuilder builder)
public void parse(Reader markupContent) throws IOException
IOException
public void parse(Reader markupContent, boolean asDocument) throws IOException
IOException
public void parse(String markupContent)
public void parse(String markupContent, boolean asDocument)
public String parseToHtml(String markupContent)
markupContent
- the content to parse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |