Class CTSdtDate

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

public class CTSdtDate extends Object implements Child

Java class for CT_SdtDate complex type.

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

 <complexType name="CT_SdtDate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dateFormat" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lid" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Lang" minOccurs="0"/>
         <element name="storeMappedDataAs" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtDateMappingType" minOccurs="0"/>
         <element name="calendar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_CalendarType" minOccurs="0"/>
       </sequence>
       <attribute name="fullDate" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTSdtDate

      public CTSdtDate()
  • Method Details

    • getDateFormat

      public CTSdtDate.DateFormat getDateFormat()
      Gets the value of the dateFormat property.
      Returns:
      possible object is CTSdtDate.DateFormat
    • setDateFormat

      public void setDateFormat(CTSdtDate.DateFormat value)
      Sets the value of the dateFormat property.
      Parameters:
      value - allowed object is CTSdtDate.DateFormat
    • getLid

      public CTLang getLid()
      Gets the value of the lid property.
      Returns:
      possible object is CTLang
    • setLid

      public void setLid(CTLang value)
      Sets the value of the lid property.
      Parameters:
      value - allowed object is CTLang
    • getStoreMappedDataAs

      public CTSdtDateMappingType getStoreMappedDataAs()
      Gets the value of the storeMappedDataAs property.
      Returns:
      possible object is CTSdtDateMappingType
    • setStoreMappedDataAs

      public void setStoreMappedDataAs(CTSdtDateMappingType value)
      Sets the value of the storeMappedDataAs property.
      Parameters:
      value - allowed object is CTSdtDateMappingType
    • getCalendar

      public CTCalendarType getCalendar()
      Gets the value of the calendar property.
      Returns:
      possible object is CTCalendarType
    • setCalendar

      public void setCalendar(CTCalendarType value)
      Sets the value of the calendar property.
      Parameters:
      value - allowed object is CTCalendarType
    • getFullDate

      public XMLGregorianCalendar getFullDate()
      Gets the value of the fullDate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setFullDate

      public void setFullDate(XMLGregorianCalendar value)
      Sets the value of the fullDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • 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.