com.aptana.ide.editor.css.validator
Class StylesheetValidator

java.lang.Object
  extended by com.aptana.ide.editors.validator.ValidatorBase
      extended by com.aptana.ide.editor.css.validator.StylesheetValidator
All Implemented Interfaces:
IValidator

public class StylesheetValidator
extends ValidatorBase

Author:
Robin Debreuil, Kevin Lindsey, Samir Joshi (Refactored out of CSSErrorManager)

Constructor Summary
StylesheetValidator()
           
 
Method Summary
 IFileError[] parseForErrors(java.lang.String path, java.lang.String source, IFileSourceProvider sourceProvider, boolean collectErrors, boolean collectWarnings, boolean collectInfos)
          Parse source and return errors, warnings and information items if any
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylesheetValidator

public StylesheetValidator()
Method Detail

parseForErrors

public IFileError[] parseForErrors(java.lang.String path,
                                   java.lang.String source,
                                   IFileSourceProvider sourceProvider,
                                   boolean collectErrors,
                                   boolean collectWarnings,
                                   boolean collectInfos)
Description copied from interface: IValidator
Parse source and return errors, warnings and information items if any

Specified by:
parseForErrors in interface IValidator
Specified by:
parseForErrors in class ValidatorBase
Parameters:
path -
source -
sourceProvider -
collectErrors -
collectWarnings -
collectInfos - - ignored for now
Returns:
Array of errors and warning information
See Also:
ValidatorBase.parseForErrors(String, String, IFileSourceProvider, boolean, boolean, boolean)