org.odftoolkit.odfdom.pkg
Interface ValidationConstraint

All Known Implementing Classes:
OdfPackageConstraint, OdfSchemaConstraint

public interface ValidationConstraint

A ValidationConstraint is used to collect validation conditions and their return messages in case not appliance (invalid condition).


Method Summary
 String getLocalizedMessage()
          Creates a localized description of a Constraint.
 String getMessage()
          Returns the detail message string of this Constraint.
 

Method Detail

getLocalizedMessage

String getLocalizedMessage()
Creates a localized description of a Constraint. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage().

Returns:
The localized description of this constraint.

getMessage

String getMessage()
Returns the detail message string of this Constraint.

Returns:
the detail message string of this Constraint instance (which may be null).


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.