Package org.xlsx4j.sml
Class CTAutoFilter
java.lang.Object
org.xlsx4j.sml.CTAutoFilter
- All Implemented Interfaces:
Child
public class CTAutoFilter extends java.lang.Object implements Child
Java class for CT_AutoFilter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_AutoFilter">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="filterColumn" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FilterColumn" maxOccurs="unbounded" minOccurs="0"/>
<element name="sortState" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortState" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTExtensionListextLstprotected java.util.List<CTFilterColumn>filterColumnprotected java.lang.Stringrefprotected CTSortStatesortState -
Constructor Summary
Constructors Constructor Description CTAutoFilter() -
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.CTExtensionListgetExtLst()Gets the value of the extLst property.java.util.List<CTFilterColumn>getFilterColumn()Gets the value of the filterColumn property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRef()Gets the value of the ref property.CTSortStategetSortState()Gets the value of the sortState property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetParent(java.lang.Object parent)voidsetRef(java.lang.String value)Sets the value of the ref property.voidsetSortState(CTSortState value)Sets the value of the sortState property.
-
Field Details
-
filterColumn
-
sortState
-
extLst
-
ref
protected java.lang.String ref
-
-
Constructor Details
-
CTAutoFilter
public CTAutoFilter()
-
-
Method Details
-
getFilterColumn
Gets the value of the filterColumn 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 filterColumn property.For example, to add a new item, do as follows:
getFilterColumn().add(newItem);Objects of the following type(s) are allowed in the list
CTFilterColumn -
getSortState
Gets the value of the sortState property.- Returns:
- possible object is
CTSortState
-
setSortState
Sets the value of the sortState property.- Parameters:
value- allowed object isCTSortState
-
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
-
getRef
public java.lang.String getRef()Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
public void setRef(java.lang.String value)Sets the value of the ref property.- Parameters:
value- allowed object isString
-
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.
-