Class NotifyResource

java.lang.Object
org.bedework.client.rw.NotifyResource
All Implemented Interfaces:
Serializable

public class NotifyResource extends Object implements Serializable
Class to hold info about a notification.
Version:
1.0
Author:
Mike Douglass douglm@rpi.edu
See Also:
  • Constructor Details

    • NotifyResource

      public NotifyResource(Client cl, org.bedework.calfacade.BwResource res)
      Parameters:
      cl - the client
      res - the resource entity ) {
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      name
    • getTag

      public String getTag()
      Get the tag.
      Returns:
      type
    • getType

      public String getType()
      Get the type - this is the name of the root element in the notification message.
      Returns:
      type
    • getDoc

      public Document getDoc()
      Get the parsed XML.
      Returns:
      parsed xml
    • getNotification

      public org.bedework.caldav.util.notifications.BaseNotificationType getNotification()
    • getResourcesInfo

      public List<NotifyResource.ResourceInfo> getResourcesInfo()
    • getXmlFragment

      public String getXmlFragment()
      Output in jsp
      Returns:
      formatted xml without the header
    • makeTag

      public static String makeTag(org.bedework.calfacade.BwResource r)
      Parameters:
      r - resource
      Returns:
      a tag value for comparison