org.jbpm.designer.bpmn2.validation
Class BPMN2SyntaxChecker
java.lang.Object
org.jbpm.designer.bpmn2.validation.BPMN2SyntaxChecker
- All Implemented Interfaces:
- SyntaxChecker
public class BPMN2SyntaxChecker
- extends Object
- implements SyntaxChecker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errors
protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> errors
BPMN2SyntaxChecker
public BPMN2SyntaxChecker(String json,
String preprocessingData,
IDiagramProfile profile,
String uuid)
checkSyntax
public void checkSyntax()
- Specified by:
checkSyntax
in interface SyntaxChecker
getErrors
public Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> getErrors()
- Specified by:
getErrors
in interface SyntaxChecker
getErrorsAsJson
public org.json.JSONObject getErrorsAsJson()
- Specified by:
getErrorsAsJson
in interface SyntaxChecker
errorsFound
public boolean errorsFound()
- Specified by:
errorsFound
in interface SyntaxChecker
clearErrors
public void clearErrors()
- Specified by:
clearErrors
in interface SyntaxChecker
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.