Class ListContentValidation

java.lang.Object
com.adaptris.transform.validate.ListContentValidation
All Implemented Interfaces:
ContentValidation
Direct Known Subclasses:
NotInListContentValidation, SimpleListContentValidation

public abstract class ListContentValidation extends Object implements ContentValidation
Compare the content against some specified list.
  • Constructor Details

    • ListContentValidation

      public ListContentValidation()
  • Method Details

    • addListEntry

      public void addListEntry(String entry)
      Add an entry to the list that will be used for validation.
      Parameters:
      entry - the entry.
    • getListEntries

      public List<String> getListEntries()
      Get the list of entries that will be used for validation.
      Returns:
      the list.
    • setListEntries

      public void setListEntries(List<String> l)
      Set the list of entries that will be used for validation.
      Parameters:
      l - the list.