Class CTR

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

public class CTR extends 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 Details

  • 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 String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(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 String getIdref()
      Gets the value of the idref property.
      Returns:
      possible object is String
    • setIdref

      public void setIdref(String value)
      Sets the value of the idref property.
      Parameters:
      value - allowed object is String
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.