Class CTPerson

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

public class CTPerson
extends java.lang.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 Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String author  
    protected java.lang.String contact  
    protected CTPresenceInfo presenceInfo  
  • Constructor Summary

    Constructors
    Constructor Description
    CTPerson()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.String getAuthor()
    Gets the value of the author property.
    java.lang.String getContact()
    Gets the value of the contact property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    CTPresenceInfo getPresenceInfo()
    Gets the value of the presenceInfo property.
    void setAuthor​(java.lang.String value)
    Sets the value of the author property.
    void setContact​(java.lang.String value)
    Sets the value of the contact property.
    void setParent​(java.lang.Object parent)  
    void setPresenceInfo​(CTPresenceInfo value)
    Sets the value of the presenceInfo property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • presenceInfo

      protected CTPresenceInfo presenceInfo
    • author

      protected java.lang.String author
    • contact

      protected java.lang.String contact
  • 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 java.lang.String getAuthor()
      Gets the value of the author property.
      Returns:
      possible object is String
    • setAuthor

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

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

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

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

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