public final class UmlSource extends Object
@startfoo and end with
@endfoo.
So the diagram does not have to be a UML one.
| Constructor and Description |
|---|
UmlSource(List<CharSequence2> source,
boolean checkEndingBackslash,
int startLine)
Build the source from a text.
|
| Modifier and Type | Method and Description |
|---|---|
DiagramType |
getDiagramType()
Retrieve the type of the diagram.
|
String |
getId() |
String |
getLine(LineLocation n) |
String |
getPlainString()
Return the source as a single String with
\n as line separator. |
Display |
getTitle()
Retrieve the title, if defined in the diagram source.
|
int |
getTotalLineCount()
Return the number of line in the diagram.
|
boolean |
isEmpty()
Check if a source diagram description is empty.
|
boolean |
isStartDef() |
IteratorCounter2 |
iterator2()
Allows to iterator over the source.
|
long |
seed() |
public UmlSource(List<CharSequence2> source, boolean checkEndingBackslash, int startLine)
source - the source of the diagramcheckEndingBackslash - true if an ending backslash means that a line has to be collapsed with the following one.startLine - public DiagramType getDiagramType()
@startfoo.public IteratorCounter2 iterator2()
public String getPlainString()
\n as line separator.public long seed()
public String getLine(LineLocation n)
public int getTotalLineCount()
public boolean isEmpty()
true if the diagram does not contain information.public Display getTitle()
null.public boolean isStartDef()
public String getId()
Copyright © 2017. All rights reserved.