Class BwIstringFilter

java.lang.Object
org.bedework.caldav.util.filter.FilterBase
org.bedework.caldav.util.filter.PropertyFilter
org.bedework.caldav.util.filter.ObjectFilter<BwString>
org.bedework.calfacade.filter.BwIstringFilter
All Implemented Interfaces:
Serializable

public class BwIstringFilter extends org.bedework.caldav.util.filter.ObjectFilter<BwString>
A filter for internationalized strings, i.e. BwString
Version:
1.0
Author:
Mike Douglass
See Also:
  • Field Summary

    Fields inherited from class org.bedework.caldav.util.filter.FilterBase

    cache, children, description, name, not, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    BwIstringFilter(String name, org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex index)
    Create an istring filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a description filter.
    Create a summary filter.
    void
    setValue(String lang, String val)
    Set an entity value based on the string value.

    Methods inherited from class org.bedework.caldav.util.filter.ObjectFilter

    getCaseless, getEntity, getExact, getPrefixMatch, makeFilter, makeFilter, makeFilter, setCaseless, setEntity, setExact, setPrefixMatch, toString

    Methods inherited from class org.bedework.caldav.util.filter.PropertyFilter

    getIntKey, getParentPropertyIndex, getPropertyIndex, getPropertyIndexes, getStrKey, setParentPropertyIndex, setPropertyIndex, toStringSegment

    Methods inherited from class org.bedework.caldav.util.filter.FilterBase

    addAndChild, addChild, addOrChild, getCache, getChildren, getDescription, getName, getNot, getNumChildren, getParent, match, setCache, setChildren, setDescription, setName, setNot, setParent, stringOper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BwIstringFilter

      public BwIstringFilter(String name, org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex index)
      Create an istring filter.
      Parameters:
      name - - null one will be created
      index - of the property being filtered.
  • Method Details

    • makeSummaryFilter

      public static BwIstringFilter makeSummaryFilter(String name)
      Create a summary filter.
      Parameters:
      name - - null one will be created
      Returns:
      BwIstringFilter
    • makeDescriptionFilter

      public static BwIstringFilter makeDescriptionFilter(String name)
      Create a description filter.
      Parameters:
      name - - null one will be created
      Returns:
      BwIstringFilter
    • setValue

      public void setValue(String lang, String val)
      Set an entity value based on the string value.
      Parameters:
      lang -
      val -