Package org.xlsx4j.sml
Class CTTableStyle
java.lang.Object
org.xlsx4j.sml.CTTableStyle
- All Implemented Interfaces:
Child
Java class for CT_TableStyle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TableStyle">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tableStyleElement" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TableStyleElement" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="pivot" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="table" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</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.getCount()Gets the value of the count property.getName()Gets the value of the name property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the tableStyleElement property.booleanisPivot()Gets the value of the pivot property.booleanisTable()Gets the value of the table property.voidSets the value of the count property.voidSets the value of the name property.voidvoidSets the value of the pivot property.voidSets the value of the table property.
-
Field Details
-
tableStyleElement
-
name
-
pivot
-
table
-
count
-
-
Constructor Details
-
CTTableStyle
public CTTableStyle()
-
-
Method Details
-
getTableStyleElement
Gets the value of the tableStyleElement 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 tableStyleElement property.For example, to add a new item, do as follows:
getTableStyleElement().add(newItem);Objects of the following type(s) are allowed in the list
CTTableStyleElement -
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
-
isPivot
public boolean isPivot()Gets the value of the pivot property.- Returns:
- possible object is
Boolean
-
setPivot
Sets the value of the pivot property.- Parameters:
value- allowed object isBoolean
-
isTable
public boolean isTable()Gets the value of the table property.- Returns:
- possible object is
Boolean
-
setTable
Sets the value of the table property.- Parameters:
value- allowed object isBoolean
-
getCount
Gets the value of the count property.- Returns:
- possible object is
Long
-
setCount
Sets the value of the count property.- Parameters:
value- allowed object isLong
-
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.
-