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
-
-
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 Pattern2
getFull()
protected java.util.List<IRegex>
getPartials()
java.lang.String
getPattern()
protected int
getStartCount()
boolean
match(java.lang.String s)
RegexResult
matcher(java.lang.String s)
-
-
-
Constructor Detail
-
RegexComposed
public RegexComposed(IRegex... partial)
-
-
Method Detail
-
getFull
protected abstract Pattern2 getFull()
-
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 final boolean match(java.lang.String s)
-
getPattern
public final java.lang.String getPattern()
- Specified by:
getPattern
in interfaceIRegex
-
getPartials
protected final java.util.List<IRegex> getPartials()
-
-