Package org.docx4j.w15
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.Stringauthorprotected java.lang.Stringcontactprotected CTPresenceInfopresenceInfo -
Constructor Summary
Constructors Constructor Description CTPerson() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(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.StringgetAuthor()Gets the value of the author property.java.lang.StringgetContact()Gets the value of the contact property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTPresenceInfogetPresenceInfo()Gets the value of the presenceInfo property.voidsetAuthor(java.lang.String value)Sets the value of the author property.voidsetContact(java.lang.String value)Sets the value of the contact property.voidsetParent(java.lang.Object parent)voidsetPresenceInfo(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
-
author
protected java.lang.String author -
contact
protected java.lang.String contact
-
-
Constructor Details
-
CTPerson
public CTPerson()
-
-
Method Details
-
getPresenceInfo
Gets the value of the presenceInfo property.- Returns:
- possible object is
CTPresenceInfo
-
setPresenceInfo
Sets the value of the presenceInfo property.- Parameters:
value- allowed object isCTPresenceInfo
-
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 isString
-
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 isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-