Class CTPerson

java.lang.Object
org.docx4j.w15.CTPerson
All Implemented Interfaces:
Child

public class CTPerson extends Object implements Child

Java class for CT_Person complex type.

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

 <complexType name="CT_Person">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="presenceInfo" type="{http://schemas.microsoft.com/office/word/2012/wordml}CT_PresenceInfo" minOccurs="0"/>
       </sequence>
       <attribute name="author" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="contact" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTPerson

      public CTPerson()
  • Method Details

    • getPresenceInfo

      public CTPresenceInfo getPresenceInfo()
      Gets the value of the presenceInfo property.
      Returns:
      possible object is CTPresenceInfo
    • setPresenceInfo

      public void setPresenceInfo(CTPresenceInfo value)
      Sets the value of the presenceInfo property.
      Parameters:
      value - allowed object is CTPresenceInfo
    • getAuthor

      public String getAuthor()
      Gets the value of the author property.
      Returns:
      possible object is String
    • setAuthor

      public void setAuthor(String value)
      Sets the value of the author property.
      Parameters:
      value - allowed object is String
    • getContact

      public String getContact()
      Gets the value of the contact property.
      Returns:
      possible object is String
    • setContact

      public void setContact(String value)
      Sets the value of the contact property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.