Package org.docx4j.wml
Class CTSdtDate
java.lang.Object
org.docx4j.wml.CTSdtDate
- All Implemented Interfaces:
Child
public class CTSdtDate extends java.lang.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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTSdtDate.DateFormatJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected CTCalendarTypecalendarprotected CTSdtDate.DateFormatdateFormatprotected javax.xml.datatype.XMLGregorianCalendarfullDateprotected CTLanglidprotected CTSdtDateMappingTypestoreMappedDataAs -
Constructor Summary
Constructors Constructor Description CTSdtDate() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTCalendarTypegetCalendar()Gets the value of the calendar property.CTSdtDate.DateFormatgetDateFormat()Gets the value of the dateFormat property.javax.xml.datatype.XMLGregorianCalendargetFullDate()Gets the value of the fullDate property.CTLanggetLid()Gets the value of the lid property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTSdtDateMappingTypegetStoreMappedDataAs()Gets the value of the storeMappedDataAs property.voidsetCalendar(CTCalendarType value)Sets the value of the calendar property.voidsetDateFormat(CTSdtDate.DateFormat value)Sets the value of the dateFormat property.voidsetFullDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the fullDate property.voidsetLid(CTLang value)Sets the value of the lid property.voidsetParent(java.lang.Object parent)voidsetStoreMappedDataAs(CTSdtDateMappingType value)Sets the value of the storeMappedDataAs property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
dateFormat
-
lid
-
storeMappedDataAs
-
calendar
-
fullDate
protected javax.xml.datatype.XMLGregorianCalendar fullDate
-
-
Constructor Details
-
CTSdtDate
public CTSdtDate()
-
-
Method Details
-
getDateFormat
Gets the value of the dateFormat property.- Returns:
- possible object is
CTSdtDate.DateFormat
-
setDateFormat
Sets the value of the dateFormat property.- Parameters:
value- allowed object isCTSdtDate.DateFormat
-
getLid
Gets the value of the lid property.- Returns:
- possible object is
CTLang
-
setLid
Sets the value of the lid property.- Parameters:
value- allowed object isCTLang
-
getStoreMappedDataAs
Gets the value of the storeMappedDataAs property.- Returns:
- possible object is
CTSdtDateMappingType
-
setStoreMappedDataAs
Sets the value of the storeMappedDataAs property.- Parameters:
value- allowed object isCTSdtDateMappingType
-
getCalendar
Gets the value of the calendar property.- Returns:
- possible object is
CTCalendarType
-
setCalendar
Sets the value of the calendar property.- Parameters:
value- allowed object isCTCalendarType
-
getFullDate
public javax.xml.datatype.XMLGregorianCalendar getFullDate()Gets the value of the fullDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setFullDate
public void setFullDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the fullDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.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.
-