Class VParameterBase<U,T>
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.parameters.VParameterBase<U,T>
- Type Parameters:
U- - implemented subclassT- - type of value stored in the Parameter, such as String for text-based, or the enumerated type of the classes based on an enum
- All Implemented Interfaces:
VParameter<T>, VChild, VElement
- Direct Known Subclasses:
AlarmTriggerRelationship, AlternateText, CommonName, Delegatees, Delegators, DirectoryEntry, Encoding, FormatType, GroupMembership, Language, NonStandardParameter, ParameterEnumBasedWithUnknown, Range, RSVP, SentBy, TimeZoneIdentifierParameter
Base class of all iCalendar Parameters. Parameters can't have children.
Example VALUE=DATE
- Author:
- David Bal
-
Nested Class Summary
Nested classes/interfaces inherited from class VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringConverter<T> STRING CONVERTER Get the parameter value string converter.protected final VParameterElementPARAMETER TYPE The enumerated type of the parameter.Fields inherited from class VElementBase
BEGIN, END -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrors()Produces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parentgetValue()The value of the parameter.inthashCode()name()Returns the name of the component as it would appear in the iCalendar content line.protected List<VElementBase.Message> parseContent(String content) Parse content line into calendar element.voidvoidsetValue(CharSequence value) voidSet the value of this parametertoString()withValue(CharSequence value) Methods inherited from class VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
-
Field Details
-
converter
STRING CONVERTER Get the parameter value string converter. -
elementType
PARAMETER TYPE The enumerated type of the parameter.
-
-
Method Details
-
setParent
-
getParent
-
getValue
Description copied from interface:VParameterThe value of the parameter. For example, in the below parameter: CN=John Doe The value is the String "John Doe" Note: the value's object must have an overridden toString method that complies with iCalendar content line output.- Specified by:
getValuein interfaceVParameter<U>
-
setValue
Description copied from interface:VParameterSet the value of this parameter- Specified by:
setValuein interfaceVParameter<U>
-
setValue
-
withValue
-
withValue
-
parseContent
Description copied from class:VElementBaseParse content line into calendar element. If element contains childrenVElementBase.parseContent(String)is invoked recursively to parse child elements also- Specified by:
parseContentin classVElementBase- Parameters:
content- calendar content string to parse- Returns:
- log of information and error messages
-
name
-
toString
-
equals
-
hashCode
-
errors
Description copied from interface:VElementProduces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parent
-