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

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

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


Constructor Summary
CommandMultilinesBracket(S system, String patternStart)
           
 
Method Summary
protected  void actionIfCommandValid()
           
 String[] getDescription()
           
 String getHelpMessageForDeprecated(List<String> lines)
           
protected  Pattern getStartingPattern()
           
protected  S getSystem()
           
protected  boolean isCommandForbidden()
           
 boolean isDeprecated(List<String> line)
           
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(S system,
                                String patternStart)
Method Detail

isCommandForbidden

protected boolean isCommandForbidden()

getDescription

public String[] getDescription()
Specified by:
getDescription in interface Command

actionIfCommandValid

protected void actionIfCommandValid()

getSystem

protected S getSystem()

getStartingPattern

protected final Pattern getStartingPattern()

isDeprecated

public boolean isDeprecated(List<String> line)
Specified by:
isDeprecated in interface Command

getHelpMessageForDeprecated

public String getHelpMessageForDeprecated(List<String> lines)
Specified by:
getHelpMessageForDeprecated in interface Command

isValid

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

isLineConsistent

protected abstract boolean isLineConsistent(String line,
                                            int level)


Copyright © 2012. All Rights Reserved.