net.sourceforge.plantuml.command
Class AbstractUmlSystemCommandFactory

java.lang.Object
  extended by net.sourceforge.plantuml.command.AbstractUmlSystemCommandFactory
All Implemented Interfaces:
PSystemCommandFactory, PSystemFactory
Direct Known Subclasses:
ActivityDiagramFactory, ActivityDiagramFactory2, ClassDiagramFactory, ComponentDiagramFactory, CompositeDiagramFactory, EmptyDiagramFactory, FlowDiagramFactory, ObjectDiagramFactory, PostIdDiagramFactory, PSystemProjectFactory, PSystemProjectFactory2, SequenceDiagramFactory, StateDiagramFactory, UsecaseDiagramFactory

public abstract class AbstractUmlSystemCommandFactory
extends Object
implements PSystemCommandFactory


Constructor Summary
protected AbstractUmlSystemCommandFactory()
           
protected AbstractUmlSystemCommandFactory(DiagramType type)
           
 
Method Summary
protected  void addCommand(Command cmd)
           
protected  void addCommonCommands(UmlDiagram system)
           
 String checkFinalError()
           
 Command createCommand(List<String> lines)
           
 List<String> getDescription()
           
 DiagramType getDiagramType()
           
 void init(String startLine)
           
protected abstract  void initCommands()
           
 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.PSystemFactory
getSystem
 

Constructor Detail

AbstractUmlSystemCommandFactory

protected AbstractUmlSystemCommandFactory()

AbstractUmlSystemCommandFactory

protected AbstractUmlSystemCommandFactory(DiagramType type)
Method Detail

checkFinalError

public String checkFinalError()

isValid

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

createCommand

public final Command createCommand(List<String> lines)
Specified by:
createCommand in interface PSystemCommandFactory

init

public final void init(String startLine)
Specified by:
init in interface PSystemFactory

initCommands

protected abstract void initCommands()

addCommonCommands

protected final void addCommonCommands(UmlDiagram system)

addCommand

protected final void addCommand(Command cmd)

getDescription

public final List<String> getDescription()

getDiagramType

public final DiagramType getDiagramType()
Specified by:
getDiagramType in interface PSystemFactory


Copyright © 2012. All Rights Reserved.