Mylyn WikiText

org.eclipse.mylyn.wikitext.core.parser.markup
Class MarkupLanguage.PatternBasedSyntax

java.lang.Object
  extended by org.eclipse.mylyn.wikitext.core.parser.markup.MarkupLanguage.PatternBasedSyntax
Enclosing class:
MarkupLanguage

public static final class MarkupLanguage.PatternBasedSyntax
extends Object


Field Summary
protected  List<Integer> elementGroup
           
protected  Pattern elementPattern
           
protected  List<PatternBasedElement> elements
           
 
Constructor Summary
MarkupLanguage.PatternBasedSyntax()
           
 
Method Summary
 void add(PatternBasedElement element)
           
 void beginGroup(String regexFragment, int size)
           
 void clear()
           
 void endGroup(String regexFragment, int size)
           
 PatternBasedElementProcessor findPatternBasedElement(String lineText, int offset)
           
protected  List<PatternBasedElement> getElements()
           
 Pattern getPattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected List<PatternBasedElement> elements

elementPattern

protected Pattern elementPattern

elementGroup

protected List<Integer> elementGroup
Constructor Detail

MarkupLanguage.PatternBasedSyntax

public MarkupLanguage.PatternBasedSyntax()
Method Detail

add

public void add(PatternBasedElement element)

getElements

protected List<PatternBasedElement> getElements()
Since:
1.1

beginGroup

public void beginGroup(String regexFragment,
                       int size)

endGroup

public void endGroup(String regexFragment,
                     int size)

findPatternBasedElement

public PatternBasedElementProcessor findPatternBasedElement(String lineText,
                                                            int offset)

getPattern

public Pattern getPattern()

clear

public void clear()

Mylyn WikiText

Copyright © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html