Package org.docx4j.vml.officedrawing
Class CTR
java.lang.Object
org.docx4j.vml.officedrawing.CTR
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getHow()Gets the value of the how property.getId()Gets the value of the id property.getIdref()Gets the value of the idref property.Gets the parent object in the object tree representing the unmarshalled xml document.getProxy()Gets the value of the proxy property.getType()Gets the value of the type property.voidSets the value of the how property.voidSets the value of the id property.voidSets the value of the idref property.voidvoidSets the value of the type property.
-
Field Details
-
proxy
-
id
-
type
-
how
-
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
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
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
Gets the value of the idref property.- Returns:
- possible object is
String
-
setIdref
Sets the value of the idref property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-