Class PropBaseAltText<T,U>

Type Parameters:
U - concrete subclasses
All Implemented Interfaces:
PropAltText<T>, PropLanguage<T>, VProperty<T>, VChild, VElement, VParent
Direct Known Subclasses:
Comment, Contact, Description, Location, Resources, Summary

public abstract class PropBaseAltText<T,U> extends PropBaseLanguage<T,U> implements PropAltText<T>
Property with language, alternate text display, and a text-based value
See Also:
  • Field Details

  • Constructor Details

    • PropBaseAltText

      public PropBaseAltText(PropBaseAltText<T,U> property)
    • PropBaseAltText

      public PropBaseAltText(T value, StringConverter<T> converter)
    • PropBaseAltText

      protected PropBaseAltText()
  • Method Details

    • getAlternateText

      public AlternateText getAlternateText()
      ALTREP : Alternate Text Representation To specify an alternate text representation for the property value. Example: DESCRIPTION;ALTREP="CID:part3.msg.970415T083000@example.com": Project XYZ Review Meeting will include the following agenda items: (a) Market Overview\, (b) Finances\, (c) Project Man agement The "ALTREP" property parameter value might point to a "text/html" content portion. Content-Type:text/html Content-Id:<part3.msg.970415T083000@example.com>

      Project XYZ Review Meeting will include the following agenda items:

      1. Market Overview
      2. Finances
      3. Project Management

      Specified by:
      getAlternateText in interface PropAltText<T>
    • setAlternateText

      public void setAlternateText(AlternateText alternateText)
      Specified by:
      setAlternateText in interface PropAltText<T>
    • setAlternateText

      public void setAlternateText(String value)
    • withAlternateText

      public U withAlternateText(AlternateText altrep)
    • withAlternateText

      public U withAlternateText(URI value)
    • withAlternateText

      public U withAlternateText(String content)