org.eclipse.birt.report.model.api.validators
Class ImageFileExistingValidator

java.lang.Object
  extended byorg.eclipse.birt.report.model.validators.AbstractSemanticValidator
      extended byorg.eclipse.birt.report.model.validators.AbstractElementValidator
          extended byorg.eclipse.birt.report.model.api.validators.ImageFileExistingValidator

public class ImageFileExistingValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator

Validates the existance of the image file on the file system.

Rule

The rule is that the file should be on the file system.

Applicability

This validator is only applied to ImageItem.


Field Summary
 
Fields inherited from class org.eclipse.birt.report.model.validators.AbstractSemanticValidator
modules, name
 
Constructor Summary
ImageFileExistingValidator()
           
 
Method Summary
static ImageFileExistingValidator getInstance()
          Returns the singleton validator instance.
 java.util.List validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
           
 
Methods inherited from class org.eclipse.birt.report.model.validators.AbstractSemanticValidator
canApplyToDesign, canApplyToLibrary, getName, setModules, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileExistingValidator

public ImageFileExistingValidator()
Method Detail

getInstance

public static ImageFileExistingValidator getInstance()
Returns the singleton validator instance.

Returns:
the validator instance

validate

public java.util.List validate(org.eclipse.birt.report.model.core.Module module,
                               org.eclipse.birt.report.model.core.DesignElement element)


Copyright © 2005 Actuate Corp. All rights reserved.