public class BPMN2SyntaxChecker extends Object implements SyntaxChecker
| Modifier and Type | Class and Description |
|---|---|
class |
BPMN2SyntaxChecker.ValidationSyntaxError |
| Modifier and Type | Field and Description |
|---|---|
static String |
BPMN2_TYPE |
protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> |
errors |
static String |
PROCESS_TYPE |
static String |
SIMULATION_TYPE |
| Constructor and Description |
|---|
BPMN2SyntaxChecker(String json,
String preprocessingData,
IDiagramProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSyntax() |
void |
clearErrors() |
boolean |
errorsFound() |
Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> |
getErrors() |
org.json.JSONObject |
getErrorsAsJson() |
public static final String BPMN2_TYPE
public static final String SIMULATION_TYPE
public static final String PROCESS_TYPE
protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> errors
public BPMN2SyntaxChecker(String json, String preprocessingData, IDiagramProfile profile)
public void checkSyntax()
checkSyntax in interface SyntaxCheckerpublic Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> getErrors()
getErrors in interface SyntaxCheckerpublic org.json.JSONObject getErrorsAsJson()
getErrorsAsJson in interface SyntaxCheckerpublic boolean errorsFound()
errorsFound in interface SyntaxCheckerpublic void clearErrors()
clearErrors in interface SyntaxCheckerCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.