Class QMLDeclarationsReader
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.qml.reader.QMLDeclarationsReader
-
public class QMLDeclarationsReader extends Object
Basic class for reading qml definitions.
-
-
Constructor Summary
Constructors Constructor Description QMLDeclarationsReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<QMLContractType>
getQMLContractTypes(QMLDeclarations declarations)
QMLDeclarations
getQMLDeclarations(String QMLDeclarationsPath)
Assumes 1 QML declaration in the fileList<RefinedQMLContract>
getRefinedQMLContracts(QMLDeclarations declarations)
List<RefinedQMLProfile>
getRefinedQMLProfiles(QMLDeclarations declarations)
List<SimpleQMLContract>
getSimpleQMLContracts(QMLDeclarations declarations)
List<SimpleQMLProfile>
getSimpleQMLProfiles(QMLDeclarations declarations)
protected void
printDiagnostic(Diagnostic diagnostic, String indent)
Prints diagnostics with indentation.
-
-
-
Method Detail
-
getQMLDeclarations
public QMLDeclarations getQMLDeclarations(String QMLDeclarationsPath)
Assumes 1 QML declaration in the file- Parameters:
path
- the file path or URI.
-
printDiagnostic
protected void printDiagnostic(Diagnostic diagnostic, String indent)
Prints diagnostics with indentation.- Parameters:
diagnostic
- the diagnostic to print.indent
- the indentation for printing.
-
getQMLContractTypes
public List<QMLContractType> getQMLContractTypes(QMLDeclarations declarations)
-
getSimpleQMLContracts
public List<SimpleQMLContract> getSimpleQMLContracts(QMLDeclarations declarations)
-
getSimpleQMLProfiles
public List<SimpleQMLProfile> getSimpleQMLProfiles(QMLDeclarations declarations)
-
getRefinedQMLContracts
public List<RefinedQMLContract> getRefinedQMLContracts(QMLDeclarations declarations)
-
getRefinedQMLProfiles
public List<RefinedQMLProfile> getRefinedQMLProfiles(QMLDeclarations declarations)
-
-