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 AtomicIntegernbCreateMatches
-
Constructor Summary
Constructors Constructor Description RegexComposed(IRegex... partial)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcount()Map<String,RegexPartialMatch>createPartialMatch(Iterator<String> it)protected abstract StringgetFullSlow()protected List<IRegex>getPartials()StringgetPattern()protected intgetStartCount()protected booleanisCompiled()booleanmatch(StringLocated s)RegexResultmatcher(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:
createPartialMatchin interfaceIRegex
-
getStartCount
protected int getStartCount()
-
matcher
public RegexResult matcher(String s)
-
match
public boolean match(StringLocated s)
-
getPattern
public final String getPattern()
- Specified by:
getPatternin interfaceIRegex
-
-