Package org.docx4j.model.structure.jaxb
Class Sections
java.lang.Object
org.docx4j.model.structure.jaxb.Sections
public class Sections
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="section" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSections.SectionJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Sections.Section>section -
Constructor Summary
Constructors Constructor Description Sections() -
Method Summary
Modifier and Type Method Description java.util.List<Sections.Section>getSection()Gets the value of the section property.
-
Field Details
-
Constructor Details
-
Sections
public Sections()
-
-
Method Details
-
getSection
Gets the value of the section property.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
setmethod for the section property.For example, to add a new item, do as follows:
getSection().add(newItem);Objects of the following type(s) are allowed in the list
Sections.Section
-