Class R

java.lang.Object
org.docx4j.wml.R
All Implemented Interfaces:
ContentAccessor, Child

public class R extends Object implements Child, ContentAccessor

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RPr" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RunInnerContent" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="rsidRPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidDel" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidR" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • rPr

      protected RPr rPr
    • content

      protected List<Object> content
    • rsidRPr

      protected String rsidRPr
    • rsidDel

      protected String rsidDel
    • rsidR

      protected String rsidR
  • Constructor Details

    • R

      public R()
  • Method Details

    • getRPr

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

      public void setRPr(RPr value)
      Sets the value of the rPr property.
      Parameters:
      value - allowed object is RPr
    • getContent

      public List<Object> getContent()
      Gets the value of the content property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<R.Ptab> JAXBElement<R.YearLong> JAXBElement<R.DayShort> JAXBElement<R.NoBreakHyphen> JAXBElement<R.EndnoteRef> JAXBElement<R.PgNum> JAXBElement<R.SoftHyphen> JAXBElement<Pict> JAXBElement<R.Tab> JAXBElement<Drawing> Br JAXBElement<R.Separator> JAXBElement<R.LastRenderedPageBreak> JAXBElement<Text> JAXBElement<CTObject> JAXBElement<CTFtnEdnRef> JAXBElement<Text> JAXBElement<CTFtnEdnRef> JAXBElement<R.MonthShort> JAXBElement<R.MonthLong> JAXBElement<R.ContinuationSeparator> JAXBElement<CTRuby> JAXBElement<R.AnnotationRef> JAXBElement<R.Cr> JAXBElement<R.YearShort> JAXBElement<FldChar> JAXBElement<R.Sym> JAXBElement<R.CommentReference> JAXBElement<Text> JAXBElement<R.FootnoteRef> DelText JAXBElement<R.DayLong> AlternateContent

      Specified by:
      getContent in interface ContentAccessor
      Since:
      2.7
    • getRunContent

      @Deprecated public List<Object> getRunContent()
      Deprecated.
    • getRsidRPr

      public String getRsidRPr()
      Gets the value of the rsidRPr property.
      Returns:
      possible object is String
    • setRsidRPr

      public void setRsidRPr(String value)
      Sets the value of the rsidRPr property.
      Parameters:
      value - allowed object is String
    • getRsidDel

      public String getRsidDel()
      Gets the value of the rsidDel property.
      Returns:
      possible object is String
    • setRsidDel

      public void setRsidDel(String value)
      Sets the value of the rsidDel property.
      Parameters:
      value - allowed object is String
    • getRsidR

      public String getRsidR()
      Gets the value of the rsidR property.
      Returns:
      possible object is String
    • setRsidR

      public void setRsidR(String value)
      Sets the value of the rsidR 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.