Package org.eclipse.wst.xsl.core.internal.validation
public class XSLValidationReport extends java.lang.ObjectA validation report for the XSL validator.
Constructor Summary |
XSLValidationReport(java.lang.String uri) |
Method Summary | |
public ValidationMessage | addError(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)Add an error message for the given XSL node. |
public ValidationMessage | addInfo(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)Add an info message for the given XSL node. |
public ValidationMessage | addWarning(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)Add an warning message for the given XSL node. |
public java.util.List | getErrors()Get the validation messages. |
public java.lang.String | getFileURI()Get the URI that this report applies to. |
public java.util.List | getInfos()Get the validation messages. |
public java.util.HashMap | getNestedMessages() |
public ValidationMessage[] | getValidationMessages()Returns an array of validation messages. |
public java.util.List | getWarnings()Get the validation messages. |
public boolean | isValid()Returns whether the file is valid. The file may have warnings associated with it. |
Constructor Detail |
public XSLValidationReport(java.lang.String uri)
Create a new instance of this.
Methods Detail |
public ValidationMessage addError(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)
Add an error message for the given XSL node.
node - the node the warning applies to
message - the message to associate with the node
ValidationMessage - the validation message created
public ValidationMessage addInfo(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)
Add an info message for the given XSL node.
node - the node the warning applies to
message - the message to associate with the node
ValidationMessage - the validation message created
public ValidationMessage addWarning(org.eclipse.wst.xsl.core.model.XSLNode node
,
java.lang.String message)
Add an warning message for the given XSL node.
node - the node the warning applies to
message - the message to associate with the node
ValidationMessage - the validation message created
public java.util.List getErrors()
Get the validation messages.
java.util.List - validation messages
public java.lang.String getFileURI()
Get the URI that this report applies to.
java.lang.String - the URI
public java.util.List getInfos()
Get the validation messages.
java.util.List - validation messages
public java.util.HashMap getNestedMessages()
java.util.HashMap - null
public ValidationMessage[] getValidationMessages()
Returns an array of validation messages.
ValidationMessage[] - An array of validation messages.
public java.util.List getWarnings()
Get the validation messages.
java.util.List - validation messages
public boolean isValid()
Returns whether the file is valid. The file may have warnings associated with it.
boolean - True if the file is valid, false otherwise.