Class Tr

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

public class Tr
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>
         <element name="tblPrEx" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblPrEx" minOccurs="0"/>
         <element name="trPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TrPr" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ContentCellContent" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://schemas.microsoft.com/office/word/2010/wordml}AG_Parids"/>
       <attribute name="rsidRPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidR" 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="rsidTr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> content  
    protected java.lang.String paraId  
    protected java.lang.String rsidDel  
    protected java.lang.String rsidR  
    protected java.lang.String rsidRPr  
    protected java.lang.String rsidTr  
    protected CTTblPrEx tblPrEx  
    protected java.lang.String textId  
    protected TrPr trPr  
  • Constructor Summary

    Constructors
    Constructor Description
    Tr()  
  • 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.util.List<java.lang.Object> getEGContentCellContent()
    Deprecated.
    java.lang.String getParaId()
    Gets the value of the paraId property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    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.lang.String getRsidTr()
    Gets the value of the rsidTr property.
    CTTblPrEx getTblPrEx()
    Gets the value of the tblPrEx property.
    java.lang.String getTextId()
    Gets the value of the textId property.
    TrPr getTrPr()
    Gets the value of the trPr property.
    void setParaId​(java.lang.String value)
    Sets the value of the paraId property.
    void setParent​(java.lang.Object parent)  
    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.
    void setRsidTr​(java.lang.String value)
    Sets the value of the rsidTr property.
    void setTblPrEx​(CTTblPrEx value)
    Sets the value of the tblPrEx property.
    void setTextId​(java.lang.String value)
    Sets the value of the textId property.
    void setTrPr​(TrPr value)
    Sets the value of the trPr property.

    Methods inherited from class java.lang.Object

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

    • tblPrEx

      protected CTTblPrEx tblPrEx
    • trPr

      protected TrPr trPr
    • content

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

      protected java.lang.String rsidRPr
    • rsidR

      protected java.lang.String rsidR
    • rsidDel

      protected java.lang.String rsidDel
    • rsidTr

      protected java.lang.String rsidTr
    • paraId

      protected java.lang.String paraId
    • textId

      protected java.lang.String textId
  • Constructor Details

    • Tr

      public Tr()
  • Method Details

    • getTblPrEx

      public CTTblPrEx getTblPrEx()
      Gets the value of the tblPrEx property.
      Returns:
      possible object is CTTblPrEx
    • setTblPrEx

      public void setTblPrEx​(CTTblPrEx value)
      Sets the value of the tblPrEx property.
      Parameters:
      value - allowed object is CTTblPrEx
    • getTrPr

      public TrPr getTrPr()
      Gets the value of the trPr property.
      Returns:
      possible object is TrPr
    • setTrPr

      public void setTrPr​(TrPr value)
      Sets the value of the trPr property.
      Parameters:
      value - allowed object is TrPr
    • 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<CTMoveFromRangeEnd> JAXBElement<CTMarkupRange> JAXBElement<CTPerm> RunIns JAXBElement<CTBookmark> JAXBElement<CTCustomXmlCell> JAXBElement<CTTrackChange> JAXBElement<RunTrackChange> ProofErr CommentRangeEnd JAXBElement<Tc> JAXBElement<CTTrackChange> RunDel JAXBElement<RunTrackChange> JAXBElement<CTOMathPara> JAXBElement<CTTrackChange> JAXBElement<CTMarkup> JAXBElement<CTMarkup> JAXBElement<CTMarkup> CommentRangeStart JAXBElement<CTSdtCell> JAXBElement<CTTrackChange> JAXBElement<CTMoveBookmark> JAXBElement<CTOMath> JAXBElement<CTMoveToRangeEnd> JAXBElement<CTMoveBookmark> JAXBElement<CTMarkup> JAXBElement<RangePermissionStart>

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

      @Deprecated public java.util.List<java.lang.Object> getEGContentCellContent()
      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
    • 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
    • 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
    • getRsidTr

      public java.lang.String getRsidTr()
      Gets the value of the rsidTr property.
      Returns:
      possible object is String
    • setRsidTr

      public void setRsidTr​(java.lang.String value)
      Sets the value of the rsidTr property.
      Parameters:
      value - allowed object is String
    • getParaId

      public java.lang.String getParaId()
      Gets the value of the paraId property.
      Returns:
      possible object is String
    • setParaId

      public void setParaId​(java.lang.String value)
      Sets the value of the paraId property.
      Parameters:
      value - allowed object is String
    • getTextId

      public java.lang.String getTextId()
      Gets the value of the textId property.
      Returns:
      possible object is String
    • setTextId

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