edu.harvard.hul.ois.mets.helper
Interface MetsValidatable

All Known Implementing Classes:
MetsVElement

public interface MetsValidatable

Validatable interface.


Method Summary
 boolean isValid()
          Get the validity flag.
 void validate(MetsValidator v)
          Validate this element and its content model using the given validator.
 void validateThis(MetsValidator v)
          Validate this element using the given validator.
 

Method Detail

isValid

public boolean isValid()
Get the validity flag.

Returns:
Validity flag

validate

public void validate(MetsValidator v)
              throws MetsException
Validate this element and its content model using the given validator.

Parameters:
v - Validator
Throws:
MetsException - Validation exception

validateThis

public void validateThis(MetsValidator v)
                  throws MetsException
Validate this element using the given validator.

Throws:
MetsException - Validation exception