Package org.faktorips.runtime.internal
Class DescriptionXmlHelper
java.lang.Object
org.faktorips.runtime.internal.DescriptionXmlHelper
Reads descriptions from and writes them to XML.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.faktorips.values.InternationalStringReads the description from the "Description" child element(s) of the given parent element.static voidWrites the given description as "Description" child element(s) of the given parent element.static voidwrite(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.
-
Field Details
-
XML_ELEMENT_DESCRIPTION
- See Also:
-
XML_ATTRIBUTE_LOCALE
- See Also:
-
-
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. -
read
Reads the description from the "Description" child element(s) of the given parent element.
-