Package org.docx4j.w15
Class CTPerson
java.lang.Object
org.docx4j.w15.CTPerson
- All Implemented Interfaces:
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the author property.Gets the value of the contact property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the presenceInfo property.void
Sets the value of the author property.void
setContact
(String value) Sets the value of the contact property.void
void
setPresenceInfo
(CTPresenceInfo value) Sets the value of the presenceInfo property.
-
Field Details
-
presenceInfo
-
author
-
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
Gets the value of the author property.- Returns:
- possible object is
String
-
setAuthor
Sets the value of the author property.- Parameters:
value
- allowed object isString
-
getContact
Gets the value of the contact property.- Returns:
- possible object is
String
-
setContact
Sets the value of the contact property.- Parameters:
value
- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-