Class CTSdtListItem

java.lang.Object
org.docx4j.wml.CTSdtListItem
All Implemented Interfaces:
Child

public class CTSdtListItem extends Object implements Child

Java class for CT_SdtListItem complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_SdtListItem">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="displayText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="value" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • displayText

      protected String displayText
    • value

      protected String value
  • Constructor Details

    • CTSdtListItem

      public CTSdtListItem()
  • Method Details

    • getDisplayText

      public String getDisplayText()
      Gets the value of the displayText property.
      Returns:
      possible object is String
    • setDisplayText

      public void setDisplayText(String value)
      Sets the value of the displayText property.
      Parameters:
      value - allowed object is String
    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.