net.sourceforge.plantuml.command.regex
Class RegexComposed

java.lang.Object
  extended by net.sourceforge.plantuml.command.regex.RegexComposed
All Implemented Interfaces:
IRegex
Direct Known Subclasses:
RegexConcat, RegexOr

public abstract class RegexComposed
extends Object
implements IRegex


Constructor Summary
RegexComposed(IRegex... partial)
           
 
Method Summary
 int count()
           
 Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
           
protected abstract  Pattern getFull()
           
protected  List<IRegex> getPartials()
           
 String getPattern()
           
protected  int getStartCount()
           
 boolean match(String s)
           
 Map<String,RegexPartialMatch> matcher(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexComposed

public RegexComposed(IRegex... partial)
Method Detail

getFull

protected abstract Pattern getFull()

createPartialMatch

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

count

public final int count()
Specified by:
count in interface IRegex

getStartCount

protected int getStartCount()

matcher

public Map<String,RegexPartialMatch> matcher(String s)

match

public final boolean match(String s)

getPattern

public final String getPattern()
Specified by:
getPattern in interface IRegex

getPartials

protected final List<IRegex> getPartials()


Copyright © 2011. All Rights Reserved.