net.refractions.udig.validation
Class ValidateNullZero

java.lang.Object
  extended by net.refractions.udig.validation.ValidateNullZero

public class ValidateNullZero
extends java.lang.Object

Overrides the FeatureValidationOp abstract class to return NullZeroValidation()

Since:
1.0.1
Author:
chorner

Field Summary
 Combo combo
           
 GenericValidationResults results
           
 java.lang.String xPath
          public for testing purposes only
 
Constructor Summary
ValidateNullZero()
           
 
Method Summary
protected  boolean canValidate(FeatureType featureType)
          This method may be overridden for classes which only validate certain featureTypes
 Dialog getDialog(Shell shell, FeatureType featureType)
          public for testing purposes only
 FeatureValidation getValidator()
           
 void op(Display display, java.lang.Object target, IProgressMonitor monitor)
           
 void setXpath(Combo combo)
          public for testing purposes only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xPath

public java.lang.String xPath
public for testing purposes only


combo

public Combo combo

results

public GenericValidationResults results
Constructor Detail

ValidateNullZero

public ValidateNullZero()
Method Detail

getValidator

public FeatureValidation getValidator()
Returns:
the appropriate Validating Feature Method Class

getDialog

public Dialog getDialog(Shell shell,
                        FeatureType featureType)
public for testing purposes only

Returns:
null

setXpath

public void setXpath(Combo combo)
public for testing purposes only


op

public void op(Display display,
               java.lang.Object target,
               IProgressMonitor monitor)
        throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
net.refractions.udig.ui.operations.IOp#op(org.eclipse.swt.widgets.Display, java.lang.Object, org.eclipse.core.runtime.IProgressMonitor)

canValidate

protected boolean canValidate(FeatureType featureType)
This method may be overridden for classes which only validate certain featureTypes

Parameters:
featureType -
Returns:
boolean