Class ElementOption

java.lang.Object
davmail.exchange.ews.Option
davmail.exchange.ews.ElementOption
Direct Known Subclasses:
AlternateId, BaseShape

public class ElementOption extends Option
Generic element option.
  • Constructor Details

    • ElementOption

      protected ElementOption(String name, String value)
      Create element option.
      Parameters:
      name - element tag name
      value - element value
    • ElementOption

      protected ElementOption(String name, ElementOption option)
  • Method Details

    • write

      public void write(Writer writer) throws IOException
      Description copied from class: Option
      Write XML content to writer.
      Specified by:
      write in class Option
      Parameters:
      writer - writer
      Throws:
      IOException - on error