public class ReferenceLoader
extends java.lang.Object
BPMNElement
and Reference
.BPMNElement
,
Reference
Constructor and Description |
---|
ReferenceLoader()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,BPMNElement> |
load(java.lang.String referencesPath,
java.lang.String xsdPath)
This method loads the XML file and gives the data structure of
BPMNElements and References back.
|
public java.util.Map<java.lang.String,BPMNElement> load(java.lang.String referencesPath, java.lang.String xsdPath) throws ValidationException
referencesPath
- path to the XML file with the referencesxsdPath
- path to the XSD file for the referencesValidationException
- if problems occurred while loading, traversing or checking
the 'references.xml' file against its XSD