Oxygen XML Editor 14.2 Author API

ro.sync.exml.workspace.api.editor.validation
Class ValidationProblems

java.lang.Object
  extended by ro.sync.exml.workspace.api.editor.validation.ValidationProblems

@API(type=EXTENDABLE,
     src=PUBLIC)
public class ValidationProblems
extends java.lang.Object

Holds a set of problems which were reported during the validation process.

Since:
13

Field Summary
static int VALIDATION_AUTOMATIC
          The problem was generated by the automatic validation.
static int VALIDATION_CUSTOM
          The problem was generated by the custom schema validation.
static int VALIDATION_NORMAL
          The problem was generated by the regular validation.
 
Constructor Summary
ValidationProblems(java.util.List<ro.sync.document.DocumentPositionedInfo> problemsList, int problemType)
          Constructor.
 
Method Summary
 java.util.List<ro.sync.document.DocumentPositionedInfo> getProblemsList()
          Get the list of problems.
 int getValidationType()
          Get the validation type.
 void setProblemsList(java.util.List<ro.sync.document.DocumentPositionedInfo> problemsList)
          Set the list of problems.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATION_AUTOMATIC

public static final int VALIDATION_AUTOMATIC
The problem was generated by the automatic validation.

See Also:
Constant Field Values

VALIDATION_CUSTOM

public static final int VALIDATION_CUSTOM
The problem was generated by the custom schema validation.

See Also:
Constant Field Values

VALIDATION_NORMAL

public static final int VALIDATION_NORMAL
The problem was generated by the regular validation.

See Also:
Constant Field Values
Constructor Detail

ValidationProblems

public ValidationProblems(java.util.List<ro.sync.document.DocumentPositionedInfo> problemsList,
                          int problemType)
Constructor.

Parameters:
problemsList - The list of problems, can be null if validation was succesfull.
problemType - The type of validation, one of the constants in this class.
Method Detail

getProblemsList

public java.util.List<ro.sync.document.DocumentPositionedInfo> getProblemsList()
Get the list of problems.

Returns:
The list of problems.

setProblemsList

public void setProblemsList(java.util.List<ro.sync.document.DocumentPositionedInfo> problemsList)
Set the list of problems.

Parameters:
problemsList - The list of problems.

getValidationType

public int getValidationType()
Get the validation type. One of the constants defined in the class.

Returns:
The validation type (manual or automatic).

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.