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 intcount()java.util.Map<java.lang.String,RegexPartialMatch>createPartialMatch(java.util.Iterator<java.lang.String> it)protected abstract Pattern2getFull()protected java.util.List<IRegex>getPartials()java.lang.StringgetPattern()protected intgetStartCount()booleanmatch(java.lang.String s)RegexResultmatcher(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:
createPartialMatchin 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:
getPatternin interfaceIRegex
-
getPartials
protected final java.util.List<IRegex> getPartials()
-
-