| Modifier and Type | Field and Description |
|---|---|
| protected Location | mLocation
Location within validated xml stream where the problem occured. |
| protected final String | |
| protected XMLValidator | mReporter
Validator instance that reported the problem, if any (may be null if stream reader or writer itself reported the problem) |
| protected final int | |
| protected String | mType
Type of the problem, available types implementation specified. |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Location | |
| public String | |
| public XMLValidator | Returns: Validator that reported the problem; null if unknown or N/A.Returns the validator that reported the problem if known. |
| public int | |
| public String | Returns: Generic type (class) of the problem; may be null if validator does not provide such details
|
| public void | |
| public void | |
| public void | |
| public XMLValidationException | toException()
Convenience method for constructing a |
| mLocation | back to summary |
|---|---|
| protected Location mLocation Location within validated xml stream where the problem occured. | |
| mMessage | back to summary |
|---|---|
| protected final String mMessage | |
| mReporter | back to summary |
|---|---|
| protected XMLValidator mReporter Validator instance that reported the problem, if any (may be null if stream reader or writer itself reported the problem)
| |
| mSeverity | back to summary |
|---|---|
| protected final int mSeverity | |
| mType | back to summary |
|---|---|
| protected String mType Type of the problem, available types implementation specified.
| |
| SEVERITY_ERROR | back to summary |
|---|---|
| public static final int SEVERITY_ERROR | |
| SEVERITY_FATAL | back to summary |
|---|---|
| public static final int SEVERITY_FATAL | |
| SEVERITY_WARNING | back to summary |
|---|---|
| public static final int SEVERITY_WARNING | |
| XMLValidationProblem | back to summary |
|---|---|
| public XMLValidationProblem(Location loc, String msg) | |
| XMLValidationProblem | back to summary |
|---|---|
| public XMLValidationProblem(Location loc, String msg, int severity) | |
| XMLValidationProblem | back to summary |
|---|---|
| public XMLValidationProblem(Location loc, String msg, int severity, String type) | |
| getLocation | back to summary |
|---|---|
public Location getLocation()
| |
| getMessage | back to summary |
|---|---|
public String getMessage()
| |
| getReporter | back to summary |
|---|---|
| public XMLValidator getReporter() Returns the validator that reported the problem if known.
| |
| getSeverity | back to summary |
|---|---|
public int getSeverity()
| |
| getType | back to summary |
|---|---|
public String getType()
| |
| setLocation | back to summary |
|---|---|
public void setLocation(Location l)
| |
| setReporter | back to summary |
|---|---|
| public void setReporter(XMLValidator v) Set the validator object that reported this problem, if known.
| |
| setType | back to summary |
|---|---|
public void setType(String t)
| |
| toException | back to summary |
|---|---|
| public XMLValidationException toException() Convenience method for constructing a return XMLValidationException.createException(this);
| |