Package org.xlsx4j.sml
Class CTOleObject
java.lang.Object
org.xlsx4j.sml.CTOleObject
- All Implemented Interfaces:
Child
public class CTOleObject extends java.lang.Object implements Child
Java class for CT_OleObject complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_OleObject">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="objectPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectPr" minOccurs="0"/>
</sequence>
<attribute name="progId" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="dvAspect" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DvAspect" default="DVASPECT_CONTENT" />
<attribute name="link" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="oleUpdate" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_OleUpdate" />
<attribute name="autoLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="shapeId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanautoLoadprotected STDvAspectdvAspectprotected java.lang.Stringidprotected java.lang.Stringlinkprotected CTObjectProbjectPrprotected STOleUpdateoleUpdateprotected java.lang.StringprogIdprotected longshapeId -
Constructor Summary
Constructors Constructor Description CTOleObject() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STDvAspectgetDvAspect()Gets the value of the dvAspect property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetLink()Gets the value of the link property.CTObjectPrgetObjectPr()Gets the value of the objectPr property.STOleUpdategetOleUpdate()Gets the value of the oleUpdate property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetProgId()Gets the value of the progId property.longgetShapeId()Gets the value of the shapeId property.booleanisAutoLoad()Gets the value of the autoLoad property.voidsetAutoLoad(java.lang.Boolean value)Sets the value of the autoLoad property.voidsetDvAspect(STDvAspect value)Sets the value of the dvAspect property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetLink(java.lang.String value)Sets the value of the link property.voidsetObjectPr(CTObjectPr value)Sets the value of the objectPr property.voidsetOleUpdate(STOleUpdate value)Sets the value of the oleUpdate property.voidsetParent(java.lang.Object parent)voidsetProgId(java.lang.String value)Sets the value of the progId property.voidsetShapeId(long value)Sets the value of the shapeId property.
-
Field Details
-
Constructor Details
-
CTOleObject
public CTOleObject()
-
-
Method Details
-
getObjectPr
Gets the value of the objectPr property.- Returns:
- possible object is
CTObjectPr
-
setObjectPr
Sets the value of the objectPr property.- Parameters:
value- allowed object isCTObjectPr
-
getProgId
public java.lang.String getProgId()Gets the value of the progId property.- Returns:
- possible object is
String
-
setProgId
public void setProgId(java.lang.String value)Sets the value of the progId property.- Parameters:
value- allowed object isString
-
getDvAspect
Gets the value of the dvAspect property.- Returns:
- possible object is
STDvAspect
-
setDvAspect
Sets the value of the dvAspect property.- Parameters:
value- allowed object isSTDvAspect
-
getLink
public java.lang.String getLink()Gets the value of the link property.- Returns:
- possible object is
String
-
setLink
public void setLink(java.lang.String value)Sets the value of the link property.- Parameters:
value- allowed object isString
-
getOleUpdate
Gets the value of the oleUpdate property.- Returns:
- possible object is
STOleUpdate
-
setOleUpdate
Sets the value of the oleUpdate property.- Parameters:
value- allowed object isSTOleUpdate
-
isAutoLoad
public boolean isAutoLoad()Gets the value of the autoLoad property.- Returns:
- possible object is
Boolean
-
setAutoLoad
public void setAutoLoad(java.lang.Boolean value)Sets the value of the autoLoad property.- Parameters:
value- allowed object isBoolean
-
getShapeId
public long getShapeId()Gets the value of the shapeId property. -
setShapeId
public void setShapeId(long value)Sets the value of the shapeId property. -
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
-
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(javax.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.
-