|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.pvm.internal.xml.ProblemList
public class ProblemList
list of problems. Base class for Parse
and DeploymentImpl.
| Field Summary | |
|---|---|
protected java.util.List<Problem> |
problems
|
| Constructor Summary | |
|---|---|
ProblemList()
|
|
| Method Summary | |
|---|---|
void |
addProblem(ProblemImpl problem)
to add parsing problems during XML parsing and DOM walking. |
void |
addProblem(java.lang.String msg)
add a problem with the default severity. |
void |
addProblem(java.lang.String msg,
org.w3c.dom.Element element)
add a problem with the default severity. |
void |
addProblem(java.lang.String msg,
java.lang.Exception e)
add a problem with an exception cause and the default severity. |
void |
addProblem(java.lang.String msg,
java.lang.Exception e,
org.w3c.dom.Element element)
add a problem with an exception cause and the default severity. |
void |
addProblem(java.lang.String msg,
java.lang.Exception e,
java.lang.String severity,
org.w3c.dom.Element element)
|
void |
addProblems(java.util.List<Problem> problems)
add all problems |
JbpmException |
getJbpmException()
|
JbpmException |
getJbpmException(java.lang.String message)
|
java.util.List<Problem> |
getProblems()
all problems encountered |
boolean |
hasErrors()
indicates presence of errors |
boolean |
hasProblems()
indicates presence of problems |
void |
setProblems(java.util.List<Problem> problems)
allows to provide the list object that should be used to capture the parsing problems. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Problem> problems
| Constructor Detail |
|---|
public ProblemList()
| Method Detail |
|---|
public void addProblem(java.lang.String msg,
java.lang.Exception e,
java.lang.String severity,
org.w3c.dom.Element element)
public void addProblem(java.lang.String msg)
the default severity.
public void addProblem(java.lang.String msg,
java.lang.Exception e)
the default severity.
public void addProblem(java.lang.String msg,
org.w3c.dom.Element element)
the default severity.
public void addProblem(java.lang.String msg,
java.lang.Exception e,
org.w3c.dom.Element element)
the default severity.
public java.util.List<Problem> getProblems()
public void addProblem(ProblemImpl problem)
public void addProblems(java.util.List<Problem> problems)
public boolean hasProblems()
public boolean hasErrors()
public void setProblems(java.util.List<Problem> problems)
public JbpmException getJbpmException()
public JbpmException getJbpmException(java.lang.String message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||