net.sourceforge.plantuml.command
Class UmlDiagramFactory

java.lang.Object
  extended by net.sourceforge.plantuml.command.PSystemAbstractFactory
      extended by net.sourceforge.plantuml.command.UmlDiagramFactory
All Implemented Interfaces:
PSystemFactory
Direct Known Subclasses:
ActivityDiagramFactory, ActivityDiagramFactory3, ClassDiagramFactory, CompositeDiagramFactory, DescriptionDiagramFactory, FlowDiagramFactory, ObjectDiagramFactory, PostIdDiagramFactory, PSystemProjectFactory2, SequenceDiagramFactory, StateDiagramFactory

public abstract class UmlDiagramFactory
extends PSystemAbstractFactory


Constructor Summary
protected UmlDiagramFactory()
           
protected UmlDiagramFactory(DiagramType type)
           
 
Method Summary
protected  void addCommonCommands(List<Command> cmds)
           
 String checkFinalError(AbstractPSystem system)
           
 Command createCommand(List<String> lines)
           
protected abstract  List<Command> createCommands()
           
abstract  AbstractPSystem createEmptyDiagram()
           
 Diagram createSystem(UmlSource source)
           
 List<String> getDescription()
           
 CommandControl isValid(List<String> lines)
           
 
Methods inherited from class net.sourceforge.plantuml.command.PSystemAbstractFactory
buildEmptyError, buildEmptyError, getDiagramType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UmlDiagramFactory

protected UmlDiagramFactory()

UmlDiagramFactory

protected UmlDiagramFactory(DiagramType type)
Method Detail

createSystem

public final Diagram createSystem(UmlSource source)

checkFinalError

public String checkFinalError(AbstractPSystem system)

isValid

public final CommandControl isValid(List<String> lines)

createCommand

public final Command createCommand(List<String> lines)

createCommands

protected abstract List<Command> createCommands()

createEmptyDiagram

public abstract AbstractPSystem createEmptyDiagram()

addCommonCommands

protected final void addCommonCommands(List<Command> cmds)

getDescription

public final List<String> getDescription()


Copyright © 2014. All Rights Reserved.