Package org.xlsx4j.sml
Class Sheet
java.lang.Object
org.xlsx4j.sml.Sheet
- All Implemented Interfaces:
Child
public class Sheet extends java.lang.Object implements 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 Modifier and Type Field Description protected java.lang.Stringidprotected java.lang.Stringnameprotected longsheetIdprotected STSheetStatestate -
Constructor Summary
Constructors Constructor Description Sheet() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetId()Gets the value of the id 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.longgetSheetId()Gets the value of the sheetId property.STSheetStategetState()Gets the value of the state property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetSheetId(long value)Sets the value of the sheetId property.voidsetState(STSheetState value)Sets the value of the state property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
protected java.lang.String name -
sheetId
protected long sheetId -
state
-
id
protected java.lang.String id
-
-
Constructor Details
-
Sheet
public Sheet()
-
-
Method Details
-
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
-
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
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id 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(jakarta.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.
-