Package org.docx4j.xmlPackage
Class Package
java.lang.Object
org.docx4j.xmlPackage.Package
public class Package
extends java.lang.Object
Java class for CT_Package complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Package">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="part" type="{http://schemas.microsoft.com/office/2006/xmlPackage}CT_Part" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Package() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
part
-
-
Constructor Details
-
Package
public Package()
-
-
Method Details
-
getPart
Gets the value of the part 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 part property.For example, to add a new item, do as follows:
getPart().add(newItem);Objects of the following type(s) are allowed in the list
Part
-