net.sourceforge.plantuml.command.regex
Class RegexOr

java.lang.Object
  extended by net.sourceforge.plantuml.command.regex.RegexComposed
      extended by net.sourceforge.plantuml.command.regex.RegexOr
All Implemented Interfaces:
IRegex

public class RegexOr
extends RegexComposed
implements IRegex


Constructor Summary
RegexOr(IRegex... partial)
           
RegexOr(String name, boolean optionnal, IRegex... partial)
           
RegexOr(String name, IRegex... partial)
           
 
Method Summary
 Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
           
protected  Pattern getFull()
           
protected  int getStartCount()
           
 
Methods inherited from class net.sourceforge.plantuml.command.regex.RegexComposed
count, getPartials, getPattern, match, matcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.plantuml.command.regex.IRegex
count, getPattern
 

Constructor Detail

RegexOr

public RegexOr(IRegex... partial)

RegexOr

public RegexOr(String name,
               IRegex... partial)

RegexOr

public RegexOr(String name,
               boolean optionnal,
               IRegex... partial)
Method Detail

getFull

protected Pattern getFull()
Specified by:
getFull in class RegexComposed

getStartCount

protected int getStartCount()
Overrides:
getStartCount in class RegexComposed

createPartialMatch

public final Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
Specified by:
createPartialMatch in interface IRegex
Overrides:
createPartialMatch in class RegexComposed


Copyright © 2011. All Rights Reserved.