jBPM Designer - Backend 6.0.0.CR1

org.jbpm.designer.bpmn2.validation
Class BPMN2SyntaxChecker

java.lang.Object
  extended by org.jbpm.designer.bpmn2.validation.BPMN2SyntaxChecker
All Implemented Interfaces:
SyntaxChecker

public class BPMN2SyntaxChecker
extends Object
implements SyntaxChecker


Nested Class Summary
 class BPMN2SyntaxChecker.ValidationSyntaxError
           
 
Field Summary
protected  Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> errors
           
 
Constructor Summary
BPMN2SyntaxChecker(String json, String preprocessingData, IDiagramProfile profile, String uuid)
           
 
Method Summary
 void checkSyntax()
           
 void clearErrors()
           
 boolean errorsFound()
           
 Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> getErrors()
           
 org.json.JSONObject getErrorsAsJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errors

protected Map<String,List<BPMN2SyntaxChecker.ValidationSyntaxError>> errors
Constructor Detail

BPMN2SyntaxChecker

public BPMN2SyntaxChecker(String json,
                          String preprocessingData,
                          IDiagramProfile profile,
                          String uuid)
Method Detail

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

jBPM Designer - Backend 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.