Class DescriptionXmlHelper

java.lang.Object
org.faktorips.runtime.internal.DescriptionXmlHelper

public class DescriptionXmlHelper extends Object
Reads descriptions from and writes them to XML.
  • Field Details

  • Method Details

    • write

      public static void write(@CheckForNull org.faktorips.values.InternationalString description, Element parentElement)
      Writes the given description as "Description" child element(s) of the given parent element.
    • write

      public static void write(@CheckForNull org.faktorips.values.InternationalString description, Element parentElement, boolean skipTextContent)
      Writes the given description as "Description" child element(s) of the given parent element, optionally skipping the actual values.
      See Also:
    • read

      public static org.faktorips.values.InternationalString read(Element parentElement)
      Reads the description from the "Description" child element(s) of the given parent element.