net.sourceforge.plantuml
Class AbstractPSystem

java.lang.Object
  extended by net.sourceforge.plantuml.AbstractPSystem
All Implemented Interfaces:
Diagram
Direct Known Subclasses:
NewpagedDiagram, PSystemAppleTwo, PSystemCreole, PSystemDitaa, PSystemDonors, PSystemDot, PSystemEgg, PSystemError, PSystemJcckit, PSystemLicense, PSystemListFonts, PSystemLogo, PSystemLost, PSystemOregon, PSystemPath, PSystemProject, PSystemProject2, PSystemRIP, PSystemSalt, PSystemSudoku, PSystemTuring, PSystemVersion, PSystemXearth, UmlDiagram

public abstract class AbstractPSystem
extends Object
implements Diagram


Constructor Summary
AbstractPSystem()
           
 
Method Summary
 CommandExecutionResult executeCommand(Command cmd, List<String> lines)
           
 String getMetadata()
           
 int getNbImages()
          Number of images in this diagram (usually, 1)
 UmlSource getSource()
          The original source of the diagram
 Display getTitle()
           
 String getWarningOrError()
           
 boolean hasUrl()
          Check if the Diagram have some links.
 boolean isOk()
           
 void makeDiagramReady()
           
 void setSource(UmlSource source)
           
 
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.core.Diagram
exportDiagram, getDescription
 

Constructor Detail

AbstractPSystem

public AbstractPSystem()
Method Detail

getMetadata

public final String getMetadata()
Specified by:
getMetadata in interface Diagram

getSource

public final UmlSource getSource()
Description copied from interface: Diagram
The original source of the diagram

Specified by:
getSource in interface Diagram
Returns:

setSource

public final void setSource(UmlSource source)

getNbImages

public int getNbImages()
Description copied from interface: Diagram
Number of images in this diagram (usually, 1)

Specified by:
getNbImages in interface Diagram
Returns:
usually 1

getTitle

public Display getTitle()

getWarningOrError

public String getWarningOrError()
Specified by:
getWarningOrError in interface Diagram

makeDiagramReady

public void makeDiagramReady()

isOk

public boolean isOk()

executeCommand

public CommandExecutionResult executeCommand(Command cmd,
                                             List<String> lines)

hasUrl

public boolean hasUrl()
Description copied from interface: Diagram
Check if the Diagram have some links.

Specified by:
hasUrl in interface Diagram
Returns:


Copyright © 2013. All Rights Reserved.