Class CTNameListType

java.lang.Object
org.docx4j.bibliography.CTNameListType

public class CTNameListType extends Object

Java class for CT_NameListType complex type.

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

 <complexType name="CT_NameListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Person" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_PersonType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTNameListType

      public CTNameListType()
  • Method Details

    • getPerson

      public List<CTPersonType> getPerson()
      Gets the value of the person 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 set method for the person property.

      For example, to add a new item, do as follows:

          getPerson().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTPersonType