Package net.sourceforge.plantuml.regex
Class RegexComposed
- java.lang.Object
-
- net.sourceforge.plantuml.regex.RegexComposed
-
- All Implemented Interfaces:
IRegex
- Direct Known Subclasses:
RegexConcat,RegexOptional,RegexOr,RegexRepeatedZeroOrMore
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 java.lang.StringgetFullSlow()protected java.util.List<IRegex>getPartials()java.lang.StringgetPattern()protected intgetStartCount()protected booleanisCompiled()booleanmatch(StringLocated s)RegexResultmatcher(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:
createPartialMatchin 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:
getPatternin interfaceIRegex
-
getPartials
protected final java.util.List<IRegex> getPartials()
-
-