Class CTCustomXmlCell

java.lang.Object
org.docx4j.wml.CTCustomXmlCell
All Implemented Interfaces:
CTCustomXmlElement, Child

public class CTCustomXmlCell
extends java.lang.Object
implements CTCustomXmlElement

Java class for CT_CustomXmlCell complex type.

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

 <complexType name="CT_CustomXmlCell">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="customXmlPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_CustomXmlPr" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ContentCellContent" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="uri" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="element" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> content  
    protected CTCustomXmlPr customXmlPr  
    protected java.lang.String element  
    protected java.lang.String uri  
  • Constructor Summary

    Constructors
    Constructor Description
    CTCustomXmlCell()  
  • 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.
    CTCustomXmlPr getCustomXmlPr()
    Gets the value of the customXmlPr property.
    java.util.List<java.lang.Object> getEGContentCellContent()
    Deprecated.
    java.lang.String getElement()
    Gets the value of the element property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getUri()
    Gets the value of the uri property.
    void setCustomXmlPr​(CTCustomXmlPr value)
    Sets the value of the customXmlPr property.
    void setElement​(java.lang.String value)
    Sets the value of the element property.
    void setParent​(java.lang.Object parent)  
    void setUri​(java.lang.String value)
    Sets the value of the uri property.

    Methods inherited from class java.lang.Object

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

    • customXmlPr

      protected CTCustomXmlPr customXmlPr
    • content

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

      protected java.lang.String uri
    • element

      protected java.lang.String element
  • Constructor Details

    • CTCustomXmlCell

      public CTCustomXmlCell()
  • Method Details

    • getCustomXmlPr

      public CTCustomXmlPr getCustomXmlPr()
      Gets the value of the customXmlPr property.
      Specified by:
      getCustomXmlPr in interface CTCustomXmlElement
      Returns:
      possible object is CTCustomXmlPr
    • setCustomXmlPr

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

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

      @Deprecated public java.util.List<java.lang.Object> getEGContentCellContent()
      Deprecated.
    • getUri

      public java.lang.String getUri()
      Gets the value of the uri property.
      Specified by:
      getUri in interface CTCustomXmlElement
      Returns:
      possible object is String
    • setUri

      public void setUri​(java.lang.String value)
      Sets the value of the uri property.
      Specified by:
      setUri in interface CTCustomXmlElement
      Parameters:
      value - allowed object is String
    • getElement

      public java.lang.String getElement()
      Gets the value of the element property.
      Specified by:
      getElement in interface CTCustomXmlElement
      Returns:
      possible object is String
    • setElement

      public void setElement​(java.lang.String value)
      Sets the value of the element property.
      Specified by:
      setElement in interface CTCustomXmlElement
      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.