Package org.xlsx4j.sml
Class CTCellStyle
java.lang.Object
org.xlsx4j.sml.CTCellStyle
- All Implemented Interfaces:
Child
public class CTCellStyle extends java.lang.Object implements Child
Java class for CT_CellStyle complex type.
This element expresses the name and related formatting records for a named cell style in this workbook.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CellStyle">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="xfId" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
<attribute name="builtinId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="iLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="customBuiltin" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.LongbuiltinIdprotected java.lang.BooleancustomBuiltinprotected CTExtensionListextLstprotected java.lang.Booleanhiddenprotected java.lang.LongiLevelprotected java.lang.Stringnameprotected longxfId -
Constructor Summary
Constructors Constructor Description CTCellStyle() -
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.LonggetBuiltinId()Gets the value of the builtinId property.CTExtensionListgetExtLst()Gets the value of the extLst property.java.lang.LonggetILevel()Gets the value of the iLevel property.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.longgetXfId()Gets the value of the xfId property.java.lang.BooleanisCustomBuiltin()Gets the value of the customBuiltin property.java.lang.BooleanisHidden()Gets the value of the hidden property.voidsetBuiltinId(java.lang.Long value)Sets the value of the builtinId property.voidsetCustomBuiltin(java.lang.Boolean value)Sets the value of the customBuiltin property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetHidden(java.lang.Boolean value)Sets the value of the hidden property.voidsetILevel(java.lang.Long value)Sets the value of the iLevel property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetXfId(long value)Sets the value of the xfId property.
-
Field Details
-
Constructor Details
-
CTCellStyle
public CTCellStyle()
-
-
Method Details
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
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
-
getXfId
public long getXfId()Gets the value of the xfId property. -
setXfId
public void setXfId(long value)Sets the value of the xfId property. -
getBuiltinId
public java.lang.Long getBuiltinId()Gets the value of the builtinId property.- Returns:
- possible object is
Long
-
setBuiltinId
public void setBuiltinId(java.lang.Long value)Sets the value of the builtinId property.- Parameters:
value- allowed object isLong
-
getILevel
public java.lang.Long getILevel()Gets the value of the iLevel property.- Returns:
- possible object is
Long
-
setILevel
public void setILevel(java.lang.Long value)Sets the value of the iLevel property.- Parameters:
value- allowed object isLong
-
isHidden
public java.lang.Boolean isHidden()Gets the value of the hidden property.- Returns:
- possible object is
Boolean
-
setHidden
public void setHidden(java.lang.Boolean value)Sets the value of the hidden property.- Parameters:
value- allowed object isBoolean
-
isCustomBuiltin
public java.lang.Boolean isCustomBuiltin()Gets the value of the customBuiltin property.- Returns:
- possible object is
Boolean
-
setCustomBuiltin
public void setCustomBuiltin(java.lang.Boolean value)Sets the value of the customBuiltin 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.
-