Class RegexComposed
- java.lang.Object
-
- net.sourceforge.plantuml.command.regex.RegexComposed
-
- All Implemented Interfaces:
IRegex
- Direct Known Subclasses:
RegexConcat
,RegexOptional
,RegexOr
public abstract class RegexComposed extends Object implements IRegex
-
-
Field Summary
Fields Modifier and Type Field Description protected static AtomicInteger
nbCreateMatches
-
Constructor Summary
Constructors Constructor Description RegexComposed(IRegex... partial)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
count()
Map<String,RegexPartialMatch>
createPartialMatch(Iterator<String> it)
protected abstract String
getFullSlow()
protected List<IRegex>
getPartials()
String
getPattern()
protected int
getStartCount()
protected boolean
isCompiled()
boolean
match(StringLocated s)
RegexResult
matcher(String s)
protected List<IRegex>
partials()
-
-
-
Field Detail
-
nbCreateMatches
protected static final AtomicInteger nbCreateMatches
-
-
Constructor Detail
-
RegexComposed
public RegexComposed(IRegex... partial)
-
-
Method Detail
-
getFullSlow
protected abstract String getFullSlow()
-
isCompiled
protected final boolean isCompiled()
-
createPartialMatch
public Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
- Specified by:
createPartialMatch
in interfaceIRegex
-
getStartCount
protected int getStartCount()
-
matcher
public RegexResult matcher(String s)
-
match
public boolean match(StringLocated s)
-
getPattern
public final String getPattern()
- Specified by:
getPattern
in interfaceIRegex
-
-