ChartReaderEPFlowChartXmlReaderpublic class EPChartXmlReader extends java.lang.Object implements ChartReader
| Modifier and Type | Field | Description |
|---|---|---|
protected org.jdom2.Element |
rootEl |
| Constructor | Description |
|---|---|
EPChartXmlReader(java.lang.String xmlFileName) |
Constructor to process the file and creates the relevant chart elements and their connections
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
checkFileType() |
|
protected java.lang.Class<?> |
getImplClass(java.lang.String type) |
|
<T extends EntityPlotter> |
loadConnections(java.util.Set<T> definedEntities) |
|
java.util.Set<EntityPlotter> |
loadEntities() |
|
protected <T extends EntityPlotter> |
postProcessItem(org.jdom2.Element curEl,
T item,
java.util.Map<java.lang.String,java.lang.String> styleList) |
This method to be extended by any child for further properties
|
protected <T extends EntityPlotter> |
readShape(T item,
org.jdom2.Element curEl) |
public EPChartXmlReader(java.lang.String xmlFileName)
throws java.lang.Exception
xmlFileName - java.lang.Exceptionprotected void checkFileType()
public java.util.Set<EntityPlotter> loadEntities()
loadEntities in interface ChartReaderprotected java.lang.Class<?> getImplClass(java.lang.String type)
protected <T extends EntityPlotter> void readShape(T item, org.jdom2.Element curEl)
protected <T extends EntityPlotter> void postProcessItem(org.jdom2.Element curEl, T item, java.util.Map<java.lang.String,java.lang.String> styleList)
T - curEl - item - styleList - public <T extends EntityPlotter> java.util.List<EntityConnector> loadConnections(java.util.Set<T> definedEntities)
loadConnections in interface ChartReaderCopyright © 2019 SMYLD. All rights reserved.