public final class UmlSource
extends java.lang.Object
@startfoo
and end with
@endfoo
.
So the diagram does not have to be a UML one.
Constructor and Description |
---|
UmlSource(java.util.List<CharSequence2> data,
boolean checkEndingBackslash)
Build the source from a text.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsIgnoreCase(java.lang.String searched) |
DiagramType |
getDiagramType()
Retrieve the type of the diagram.
|
java.lang.String |
getId() |
java.lang.String |
getLine(LineLocation n) |
java.lang.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.
|
UmlSource |
removeInitialSkinparam() |
long |
seed() |
public UmlSource(java.util.List<CharSequence2> data, boolean checkEndingBackslash)
data
- the source of the diagramcheckEndingBackslash
- true
if an ending backslash means that a line has to be collapsed with the following one.public UmlSource removeInitialSkinparam()
public boolean containsIgnoreCase(java.lang.String searched)
public DiagramType getDiagramType()
@startfoo
.public IteratorCounter2 iterator2()
public java.lang.String getPlainString()
\n
as line separator.public long seed()
public java.lang.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 java.lang.String getId()