Class CTRegularTextRun

java.lang.Object
org.docx4j.dml.CTRegularTextRun
All Implemented Interfaces:
Child

public class CTRegularTextRun
extends java.lang.Object
implements Child

Java class for CT_RegularTextRun complex type.

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

 <complexType name="CT_RegularTextRun">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="rPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextCharacterProperties" minOccurs="0"/>
         <element name="t" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected CTTextCharacterProperties rPr  
    protected java.lang.String t  
  • Constructor Summary

    Constructors
    Constructor Description
    CTRegularTextRun()  
  • 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.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    CTTextCharacterProperties getRPr()
    Gets the value of the rPr property.
    java.lang.String getT()
    Gets the value of the t property.
    void setParent​(java.lang.Object parent)  
    void setRPr​(CTTextCharacterProperties value)
    Sets the value of the rPr property.
    void setT​(java.lang.String value)
    Sets the value of the t property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • CTRegularTextRun

      public CTRegularTextRun()
  • Method Details

    • getRPr

      public CTTextCharacterProperties getRPr()
      Gets the value of the rPr property.
      Returns:
      possible object is CTTextCharacterProperties
    • setRPr

      public void setRPr​(CTTextCharacterProperties value)
      Sets the value of the rPr property.
      Parameters:
      value - allowed object is CTTextCharacterProperties
    • getT

      public java.lang.String getT()
      Gets the value of the t property.
      Returns:
      possible object is String
    • setT

      public void setT​(java.lang.String value)
      Sets the value of the t 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.