Class R

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

public class R
extends java.lang.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>
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  R.AnnotationRef
    Java class for anonymous complex type.
    static class  R.CommentReference
    Java class for anonymous complex type.
    static class  R.ContinuationSeparator
    Java class for anonymous complex type.
    static class  R.Cr
    Java class for anonymous complex type.
    static class  R.DayLong
    Java class for anonymous complex type.
    static class  R.DayShort
    Java class for anonymous complex type.
    static class  R.EndnoteRef
    Java class for anonymous complex type.
    static class  R.FootnoteRef
    Java class for anonymous complex type.
    static class  R.LastRenderedPageBreak
    Java class for anonymous complex type.
    static class  R.MonthLong
    Java class for anonymous complex type.
    static class  R.MonthShort
    Java class for anonymous complex type.
    static class  R.NoBreakHyphen
    Java class for anonymous complex type.
    static class  R.PgNum
    Java class for anonymous complex type.
    static class  R.Ptab
    Java class for anonymous complex type.
    static class  R.Separator
    Java class for anonymous complex type.
    static class  R.SoftHyphen
    Java class for anonymous complex type.
    static class  R.Sym
    Java class for anonymous complex type.
    static class  R.Tab
    Java class for anonymous complex type.
    static class  R.YearLong
    Java class for anonymous complex type.
    static class  R.YearShort
    Java class for anonymous complex type.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> content  
    protected RPr rPr  
    protected java.lang.String rsidDel  
    protected java.lang.String rsidR  
    protected java.lang.String rsidRPr  
  • Constructor Summary

    Constructors
    Constructor Description
    R()  
  • 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.util.List<java.lang.Object> getContent()
    Gets the value of the content property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    RPr getRPr()
    Gets the value of the rPr property.
    java.lang.String getRsidDel()
    Gets the value of the rsidDel property.
    java.lang.String getRsidR()
    Gets the value of the rsidR property.
    java.lang.String getRsidRPr()
    Gets the value of the rsidRPr property.
    java.util.List<java.lang.Object> getRunContent()
    Deprecated.
    void setParent​(java.lang.Object parent)  
    void setRPr​(RPr value)
    Sets the value of the rPr property.
    void setRsidDel​(java.lang.String value)
    Sets the value of the rsidDel property.
    void setRsidR​(java.lang.String value)
    Sets the value of the rsidR property.
    void setRsidRPr​(java.lang.String value)
    Sets the value of the rsidRPr property.

    Methods inherited from class java.lang.Object

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

    • rPr

      protected RPr rPr
    • content

      protected java.util.List<java.lang.Object> content
    • rsidRPr

      protected java.lang.String rsidRPr
    • rsidDel

      protected java.lang.String rsidDel
    • rsidR

      protected java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.Object> getRunContent()
      Deprecated.
    • getRsidRPr

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

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

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

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

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

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