Package com.adaptris.transform.validate
Class ListContentValidation
java.lang.Object
com.adaptris.transform.validate.ListContentValidation
- All Implemented Interfaces:
ContentValidation
- Direct Known Subclasses:
NotInListContentValidation
,SimpleListContentValidation
Compare the content against some specified list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListEntry
(String entry) Add an entry to the list that will be used for validation.Get the list of entries that will be used for validation.void
setListEntries
(List<String> l) Set the list of entries that will be used for validation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.adaptris.transform.validate.ContentValidation
getMessage, isValid
-
Constructor Details
-
ListContentValidation
public ListContentValidation()
-
-
Method Details
-
addListEntry
Add an entry to the list that will be used for validation.- Parameters:
entry
- the entry.
-
getListEntries
Get the list of entries that will be used for validation.- Returns:
- the list.
-
setListEntries
Set the list of entries that will be used for validation.- Parameters:
l
- the list.
-