Package org.eclipse.wst.xsl.core.internal.validation
public class XSLValidator extends java.lang.ObjectThe XSL validator for workspace XSL files.
Method Summary | |
public static org.eclipse.wst.xsl.core.internal.validation.XSLValidator | getInstance()Get the singleton XSLValidator instance. |
public ValidationReport | validate(IFile xslFile
,
boolean forceBuild)Validate the given XSL file. Same as validate(xslFile,report,forceBuild) except a new report is
created and returned. |
public void | validate(IFile xslFile
,
org.eclipse.wst.xsl.core.internal.validation.XSLValidationReport report
,
boolean forceBuild)Validate the given XSL file using the specified report. |
Methods Detail |
public org.eclipse.wst.xsl.core.internal.validation.XSLValidator getInstance()
Get the singleton XSLValidator instance.
org.eclipse.wst.xsl.core.internal.validation.XSLValidator - the singleton XSLValidator instance
public ValidationReport validate(IFile xslFile
,
boolean forceBuild)
Validate the given XSL file. Same as
validate(xslFile,report,forceBuild) except a new report is
created and returned.
xslFile - the XSL file
forceBuild - true if build should always be forced
ValidationReport - the validation report
CoreException - if any exception occurs while validating
public void validate(IFile xslFile
,
org.eclipse.wst.xsl.core.internal.validation.XSLValidationReport report
,
boolean forceBuild)
Validate the given XSL file using the specified report.
xslFile - the XSL file
report - the report to use for reporting validation errors
forceBuild - true if build should always be forced
CoreException - if any exception occurs while validating