Package org.xlsx4j.sml
Class Sheet
java.lang.Object
org.xlsx4j.sml.Sheet
- All Implemented Interfaces:
Child
Java class for CT_Sheet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Sheet">
<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="sheetId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="state" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SheetState" default="visible" />
<attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id use="required""/>
</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.getId()Gets the value of the id property.getName()Gets the value of the name property.Gets the parent object in the object tree representing the unmarshalled xml document.longGets the value of the sheetId property.getState()Gets the value of the state property.voidSets the value of the id property.voidSets the value of the name property.voidvoidsetSheetId(long value) Sets the value of the sheetId property.voidsetState(STSheetState value) Sets the value of the state property.
-
Field Details
-
name
-
sheetId
protected long sheetId -
state
-
id
-
-
Constructor Details
-
Sheet
public Sheet()
-
-
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
-
getSheetId
public long getSheetId()Gets the value of the sheetId property. -
setSheetId
public void setSheetId(long value) Sets the value of the sheetId property. -
getState
Gets the value of the state property.- Returns:
- possible object is
STSheetState
-
setState
Sets the value of the state property.- Parameters:
value- allowed object isSTSheetState
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id 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.
-