Package org.odftoolkit.odfdom.pkg
Interface ValidationConstraint
-
- All Known Implementing Classes:
OdfPackageConstraint
,OdfSchemaConstraint
public interface ValidationConstraint
AValidationConstraint
is used to collect validation conditions and their return messages in case not appliance (invalid condition).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 asgetMessage()
.- 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).
-
-