net.sourceforge.plantuml.command
Class CommandMultilinesBracket<S extends Diagram>

java.lang.Object
  extended by net.sourceforge.plantuml.command.CommandMultilinesBracket<S>
All Implemented Interfaces:
Command<S>
Direct Known Subclasses:
CommandSkinParamMultilines

public abstract class CommandMultilinesBracket<S extends Diagram>
extends Object
implements Command<S>


Constructor Summary
CommandMultilinesBracket(String patternStart)
           
 
Method Summary
protected  void actionIfCommandValid()
           
 String[] getDescription()
           
protected  Pattern getStartingPattern()
           
protected  boolean isCommandForbidden()
           
protected abstract  boolean isLineConsistent(String line, int level)
           
 CommandControl isValid(List<String> lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.plantuml.command.Command
execute
 

Constructor Detail

CommandMultilinesBracket

public CommandMultilinesBracket(String patternStart)
Method Detail

isCommandForbidden

protected boolean isCommandForbidden()

getDescription

public String[] getDescription()
Specified by:
getDescription in interface Command<S extends Diagram>

actionIfCommandValid

protected void actionIfCommandValid()

getStartingPattern

protected final Pattern getStartingPattern()

isValid

public final CommandControl isValid(List<String> lines)
Specified by:
isValid in interface Command<S extends Diagram>

isLineConsistent

protected abstract boolean isLineConsistent(String line,
                                            int level)


Copyright © 2013. All Rights Reserved.