Package org.xlsx4j.sml
Class CTOleItem
java.lang.Object
org.xlsx4j.sml.CTOleItem
- All Implemented Interfaces:
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
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.getName()Gets the value of the name property.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.booleanGets the value of the preferPic property.voidSets the value of the advise property.voidSets the value of the icon property.voidSets the value of the name property.voidvoidsetPreferPic(Boolean value) Sets the value of the preferPic property.
-
Field Details
-
name
-
icon
-
advise
-
preferPic
-
-
Constructor Details
-
CTOleItem
public CTOleItem()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
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
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
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
Sets the value of the preferPic property.- Parameters:
value- allowed object isBoolean
-
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.
-