Package org.xlsx4j.sml
Class CTOleItem
java.lang.Object
org.xlsx4j.sml.CTOleItem
- All Implemented Interfaces:
Child
public class CTOleItem extends java.lang.Object implements Child
Java class for CT_OleItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_OleItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="advise" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="preferPic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTOleItem() -
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.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.booleanisAdvise()Gets the value of the advise property.booleanisIcon()Gets the value of the icon property.booleanisPreferPic()Gets the value of the preferPic property.voidsetAdvise(java.lang.Boolean value)Sets the value of the advise property.voidsetIcon(java.lang.Boolean value)Sets the value of the icon property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetPreferPic(java.lang.Boolean value)Sets the value of the preferPic property.
-
Field Details
-
Constructor Details
-
CTOleItem
public CTOleItem()
-
-
Method Details
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
isIcon
public boolean isIcon()Gets the value of the icon property.- Returns:
- possible object is
Boolean
-
setIcon
public void setIcon(java.lang.Boolean value)Sets the value of the icon property.- Parameters:
value- allowed object isBoolean
-
isAdvise
public boolean isAdvise()Gets the value of the advise property.- Returns:
- possible object is
Boolean
-
setAdvise
public void setAdvise(java.lang.Boolean value)Sets the value of the advise property.- Parameters:
value- allowed object isBoolean
-
isPreferPic
public boolean isPreferPic()Gets the value of the preferPic property.- Returns:
- possible object is
Boolean
-
setPreferPic
public void setPreferPic(java.lang.Boolean value)Sets the value of the preferPic property.- Parameters:
value- allowed object isBoolean
-
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.
-