Package org.docx4j.vml.officedrawing
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
-
Constructor Summary
Constructors Constructor Description CTR() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STHowgetHow()Gets the value of the how property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetIdref()Gets the value of the idref property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.ArrayListVml<CTProxy>getProxy()Gets the value of the proxy property.STRTypegetType()Gets the value of the type property.voidsetHow(STHow value)Sets the value of the how property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetIdref(java.lang.String value)Sets the value of the idref property.voidsetParent(java.lang.Object parent)voidsetType(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
-
id
protected java.lang.String id -
type
-
how
-
idref
protected java.lang.String idref
-
-
Constructor Details
-
CTR
public CTR()
-
-
Method Details
-
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
setmethod 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 isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
STRType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTRType
-
getHow
Gets the value of the how property.- Returns:
- possible object is
STHow
-
setHow
Sets the value of the how property.- Parameters:
value- allowed object isSTHow
-
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 isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-