Class CTR

java.lang.Object
org.docx4j.vml.officedrawing.CTR
All Implemented Interfaces:
Child

public class CTR
extends java.lang.Object
implements Child

Java class for CT_R complex type.

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

 <complexType name="CT_R">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="proxy" type="{urn:schemas-microsoft-com:office:office}CT_Proxy" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{urn:schemas-microsoft-com:office:office}ST_RType" />
       <attribute name="how" type="{urn:schemas-microsoft-com:office:office}ST_How" />
       <attribute name="idref" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected STHow how  
    protected java.lang.String id  
    protected java.lang.String idref  
    protected ArrayListVml<CTProxy> proxy  
    protected STRType type  
  • Constructor Summary

    Constructors
    Constructor Description
    CTR()  
  • 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.
    STHow getHow()
    Gets the value of the how property.
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.String getIdref()
    Gets the value of the idref property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    ArrayListVml<CTProxy> getProxy()
    Gets the value of the proxy property.
    STRType getType()
    Gets the value of the type property.
    void setHow​(STHow value)
    Sets the value of the how property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setIdref​(java.lang.String value)
    Sets the value of the idref property.
    void setParent​(java.lang.Object parent)  
    void setType​(STRType value)
    Sets the value of the type property.

    Methods inherited from class java.lang.Object

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

    • proxy

      protected ArrayListVml<CTProxy> proxy
    • id

      protected java.lang.String id
    • type

      protected STRType type
    • how

      protected STHow how
    • idref

      protected java.lang.String idref
  • Constructor Details

    • CTR

      public CTR()
  • Method Details

    • getProxy

      public ArrayListVml<CTProxy> getProxy()
      Gets the value of the proxy 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 proxy property.

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

          getProxy().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTProxy

    • getId

      public java.lang.String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getType

      public STRType getType()
      Gets the value of the type property.
      Returns:
      possible object is STRType
    • setType

      public void setType​(STRType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STRType
    • getHow

      public STHow getHow()
      Gets the value of the how property.
      Returns:
      possible object is STHow
    • setHow

      public void setHow​(STHow value)
      Sets the value of the how property.
      Parameters:
      value - allowed object is STHow
    • getIdref

      public java.lang.String getIdref()
      Gets the value of the idref property.
      Returns:
      possible object is String
    • setIdref

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