net.sourceforge.plantuml.command.regex
Class RegexLeaf

java.lang.Object
  extended by net.sourceforge.plantuml.command.regex.RegexLeaf
All Implemented Interfaces:
IRegex

public class RegexLeaf
extends Object
implements IRegex


Constructor Summary
RegexLeaf(String regex)
           
RegexLeaf(String name, String regex)
           
 
Method Summary
 int count()
           
 Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
           
 String getName()
           
 String getPattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexLeaf

public RegexLeaf(String regex)

RegexLeaf

public RegexLeaf(String name,
                 String regex)
Method Detail

getName

public String getName()

getPattern

public String getPattern()
Specified by:
getPattern in interface IRegex

count

public int count()
Specified by:
count in interface IRegex

createPartialMatch

public Map<String,RegexPartialMatch> createPartialMatch(Iterator<String> it)
Specified by:
createPartialMatch in interface IRegex


Copyright © 2014. All Rights Reserved.