|
Mylyn WikiText version 3.3.2.v20100222-0100 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElement
org.eclipse.mylyn.wikitext.core.parser.markup.phrase.HtmlStartTagPhraseModifier
public class HtmlStartTagPhraseModifier
A phrase modifier that detects HTML and XML tags in the source, passing them through to the builder as either escaped or unescaped text.
HtmlEndTagPhraseModifier| Constructor Summary | |
|---|---|
HtmlStartTagPhraseModifier()
construct this as unescaping |
|
HtmlStartTagPhraseModifier(boolean escaping)
|
|
| Method Summary | |
|---|---|
protected String |
getPattern(int groupOffset)
Get the regular expression pattern that matches this element. |
protected int |
getPatternGroupCount()
The number of capturing groups in the pattern. |
protected PatternBasedElementProcessor |
newProcessor()
create a new processor for processing the type of element detected by this class. |
| Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElement |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlStartTagPhraseModifier()
public HtmlStartTagPhraseModifier(boolean escaping)
escaping - indicate if the markup should be escaped| Method Detail |
|---|
protected String getPattern(int groupOffset)
PatternBasedElement
getPattern in class PatternBasedElementgroupOffset - the offset of the groups in the pattern, 0 indicating no offset
protected PatternBasedElementProcessor newProcessor()
PatternBasedElement
newProcessor in class PatternBasedElementprotected int getPatternGroupCount()
PatternBasedElementpattern. Note that implementations must take care
to return the correct value otherwise the markup language will not work correctly.
getPatternGroupCount in class PatternBasedElement
|
Mylyn WikiText version 3.3.2.v20100222-0100 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||