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 java.lang.Object implements IRegex
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.concurrent.atomic.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()
java.util.Map<java.lang.String,RegexPartialMatch>
createPartialMatch(java.util.Iterator<java.lang.String> it)
protected abstract java.lang.String
getFullSlow()
protected java.util.List<IRegex>
getPartials()
java.lang.String
getPattern()
protected int
getStartCount()
protected boolean
isCompiled()
boolean
match(StringLocated s)
RegexResult
matcher(java.lang.String s)
protected java.util.List<IRegex>
partials()
-
-
-
Constructor Detail
-
RegexComposed
public RegexComposed(IRegex... partial)
-
-
Method Detail
-
partials
protected final java.util.List<IRegex> partials()
-
getFullSlow
protected abstract java.lang.String getFullSlow()
-
isCompiled
protected final boolean isCompiled()
-
createPartialMatch
public java.util.Map<java.lang.String,RegexPartialMatch> createPartialMatch(java.util.Iterator<java.lang.String> it)
- Specified by:
createPartialMatch
in interfaceIRegex
-
getStartCount
protected int getStartCount()
-
matcher
public RegexResult matcher(java.lang.String s)
-
match
public boolean match(StringLocated s)
-
getPattern
public final java.lang.String getPattern()
- Specified by:
getPattern
in interfaceIRegex
-
getPartials
protected final java.util.List<IRegex> getPartials()
-
-