Package org.xlsx4j.sml
Class CTSortState
java.lang.Object
org.xlsx4j.sml.CTSortState
- All Implemented Interfaces:
Child
Java class for CT_SortState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SortState">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sortCondition" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortCondition" maxOccurs="64" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="columnSort" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="sortMethod" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SortMethod" default="none" />
<attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected CTExtensionListprotected Stringprotected List<CTSortCondition>protected STSortMethod -
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.Gets the value of the extLst property.Gets the parent object in the object tree representing the unmarshalled xml document.getRef()Gets the value of the ref property.Gets the value of the sortCondition property.Gets the value of the sortMethod property.booleanGets the value of the caseSensitive property.booleanGets the value of the columnSort property.voidsetCaseSensitive(Boolean value) Sets the value of the caseSensitive property.voidsetColumnSort(Boolean value) Sets the value of the columnSort property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidvoidSets the value of the ref property.voidsetSortMethod(STSortMethod value) Sets the value of the sortMethod property.
-
Field Details
-
sortCondition
-
extLst
-
columnSort
-
caseSensitive
-
sortMethod
-
ref
-
-
Constructor Details
-
CTSortState
public CTSortState()
-
-
Method Details
-
getSortCondition
Gets the value of the sortCondition 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 sortCondition property.For example, to add a new item, do as follows:
getSortCondition().add(newItem);Objects of the following type(s) are allowed in the list
CTSortCondition -
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
-
isColumnSort
public boolean isColumnSort()Gets the value of the columnSort property.- Returns:
- possible object is
Boolean
-
setColumnSort
Sets the value of the columnSort property.- Parameters:
value- allowed object isBoolean
-
isCaseSensitive
public boolean isCaseSensitive()Gets the value of the caseSensitive property.- Returns:
- possible object is
Boolean
-
setCaseSensitive
Sets the value of the caseSensitive property.- Parameters:
value- allowed object isBoolean
-
getSortMethod
Gets the value of the sortMethod property.- Returns:
- possible object is
STSortMethod
-
setSortMethod
Sets the value of the sortMethod property.- Parameters:
value- allowed object isSTSortMethod
-
getRef
Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
Sets the value of the ref property.- Parameters:
value- allowed object isString
-
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.
-