public class IsNullContentValidation extends java.lang.Object implements ContentValidation
In the adapter configuration file this class is aliased as xml-content-is-null which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
IsNullContentValidation() |
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.
|
public boolean isValid(java.lang.String content)
ContentValidation
isValid
in interface ContentValidation
content
- the content to parse.public java.lang.String getMessage()
ContentValidation
false
to be returnedgetMessage
in interface ContentValidation