public interface ContentValidation
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the message that caused
false to be returned |
boolean |
isValid(java.lang.String content)
Parse the content and check it's validity.
|
boolean isValid(java.lang.String content) throws java.lang.Exception
content
- the content to parse.java.lang.Exception
- on a fatal error that could not be handled.java.lang.String getMessage()
false
to be returned