public class CTCaptions extends java.lang.Object implements Child
Java class for CT_Captions complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Captions">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="caption" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Caption" maxOccurs="unbounded"/>
<element name="autoCaptions" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_AutoCaptions" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CTAutoCaptions |
autoCaptions |
protected java.util.List<CTCaption> |
caption |
| Constructor and Description |
|---|
CTCaptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
CTAutoCaptions |
getAutoCaptions()
Gets the value of the autoCaptions property.
|
java.util.List<CTCaption> |
getCaption()
Gets the value of the caption property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setAutoCaptions(CTAutoCaptions value)
Sets the value of the autoCaptions property.
|
void |
setParent(java.lang.Object parent) |
protected java.util.List<CTCaption> caption
protected CTAutoCaptions autoCaptions
public java.util.List<CTCaption> getCaption()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the caption property.
For example, to add a new item, do as follows:
getCaption().add(newItem);
Objects of the following type(s) are allowed in the list
CTCaption
public CTAutoCaptions getAutoCaptions()
CTAutoCaptionspublic void setAutoCaptions(CTAutoCaptions value)
value - allowed object is
CTAutoCaptionspublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2023. All rights reserved.