Module ical4j.core

Class Xml

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

public class Xml extends Property implements Encodable
See: rfc6321
See Also:
  • Constructor Details

    • Xml

      public Xml()
      Default constructor.
    • Xml

      public Xml(String aValue) throws URISyntaxException
      Parameters:
      aValue - a value string for this component
      Throws:
      URISyntaxException
    • Xml

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

      public Xml(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
    • 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<?> 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