Class CTTrPrBase

java.lang.Object
org.docx4j.wml.CTTrPrBase
All Implemented Interfaces:
Child
Direct Known Subclasses:
TrPr

public class CTTrPrBase
extends java.lang.Object
implements Child

Java class for CT_TrPrBase complex type.

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

 <complexType name="CT_TrPrBase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="cnfStyle" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Cnf" minOccurs="0"/>
         <element name="divId" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="gridBefore" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="gridAfter" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="wBefore" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="wAfter" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="cantSplit" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="trHeight" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Height" minOccurs="0"/>
         <element name="tblHeader" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="tblCellSpacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="jc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/>
         <element name="hidden" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  CTTrPrBase.DivId
    Java class for anonymous complex type.
    static class  CTTrPrBase.GridAfter
    Java class for anonymous complex type.
    static class  CTTrPrBase.GridBefore
    Java class for anonymous complex type.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<jakarta.xml.bind.JAXBElement<?>> cnfStyleOrDivIdOrGridBefore  
  • Constructor Summary

    Constructors
    Constructor Description
    CTTrPrBase()  
  • 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<jakarta.xml.bind.JAXBElement<?>> getCnfStyleOrDivIdOrGridBefore()
    Gets the value of the cnfStyleOrDivIdOrGridBefore property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    void setParent​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

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

    • cnfStyleOrDivIdOrGridBefore

      protected java.util.List<jakarta.xml.bind.JAXBElement<?>> cnfStyleOrDivIdOrGridBefore
  • Constructor Details

    • CTTrPrBase

      public CTTrPrBase()
  • Method Details

    • getCnfStyleOrDivIdOrGridBefore

      public java.util.List<jakarta.xml.bind.JAXBElement<?>> getCnfStyleOrDivIdOrGridBefore()
      Gets the value of the cnfStyleOrDivIdOrGridBefore 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 cnfStyleOrDivIdOrGridBefore property.

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

          getCnfStyleOrDivIdOrGridBefore().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<BooleanDefaultTrue> JAXBElement<TblWidth> JAXBElement<TblWidth> JAXBElement<CTTrPrBase.GridAfter> JAXBElement<CTTrPrBase.DivId> JAXBElement<TblWidth> JAXBElement<CTCnf> JAXBElement<CTHeight> JAXBElement<BooleanDefaultTrue> JAXBElement<BooleanDefaultTrue> JAXBElement<CTTrPrBase.GridBefore> JAXBElement<Jc>

    • 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.