Module ical4j.core

Class StructuredData

All Implemented Interfaces:
Serializable, Comparable<Property>, Encodable, FluentProperty, Prototype<Property>

public class StructuredData extends Property implements Encodable
$Id$

Created: [May 1 2017]

Defines a STRUCTURED-LOCATION iCalendar component property.

See Also:
  • Constructor Details

    • StructuredData

      public StructuredData()
      Default constructor.
    • StructuredData

      public StructuredData(String aValue)
      Parameters:
      aValue - a value string for this component
    • StructuredData

      public StructuredData(ParameterList aList, String aValue)
      Parameters:
      aList - a list of parameters for this component
      aValue - a value string for this component
    • StructuredData

      public StructuredData(URI uri)
    • StructuredData

      public StructuredData(byte[] binary)
  • Method Details

    • setValue

      public final void setValue(String aValue)
      Sets the current value of the property.
      Specified by:
      setValue in class Property
      Parameters:
      aValue - a string representation of the property value
    • getUri

      public URI getUri()
    • getBinary

      public byte[] getBinary()
    • getValue

      public final String getValue()
      Specified by:
      getValue in class Content
      Returns:
      the content value
    • validate

      public ValidationResult validate() throws ValidationException
      Description copied from class: Property
      Perform validation on a property.
      Specified by:
      validate in class Property
      Throws:
      ValidationException - where the property is not in a valid state
    • newFactory

      protected PropertyFactory<StructuredData> newFactory()
      Description copied from class: Property
      Returns a new property factory used to create deep copies.
      Specified by:
      newFactory in class Property
      Returns:
      a property factory instance