Class VComponentBase<T>

java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<T>
jfxtras.icalendarfx.components.VComponentBase<T>
All Implemented Interfaces:
VComponent, VChild, VElement, VParent
Direct Known Subclasses:
VCommon

public abstract class VComponentBase<T> extends VParentBase<T> implements VComponent

Base class implementation of a VComponent

Author:
David Bal
  • Field Details

    • parent

      protected VParent parent
  • Method Details

    • setParent

      public void setParent(VParent parent)
      Description copied from interface: VChild
      Set the VParent of this VChild. This method is invoked internally by the API. Under normal circumstances it should not be used externally
      Specified by:
      setParent in interface VChild
    • getParent

      public VParent getParent()
      Description copied from interface: VChild
      Gets the VParent of this VChild
      Specified by:
      getParent in interface VChild
    • name

      public String name()
      Description copied from interface: VElement

      Returns the name of the component as it would appear in the iCalendar content line.

      Examples:

      • VEVENT
      • SUMMARY
      • LANGUAGE

      Specified by:
      name in interface VElement
      Returns:
      - the component name
    • isContentValid

      protected boolean isContentValid(String valueContent)
      Overrides:
      isContentValid in class VElementBase