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.String id  
    protected java.lang.String name  
    protected long sheetId  
    protected STSheetState state  
  • Constructor Summary

    Constructors 
    Constructor Description
    Sheet()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getSheetId()
    Gets the value of the sheetId property.
    STSheetState getState()
    Gets the value of the state property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setSheetId​(long value)
    Sets the value of the sheetId property.
    void setState​(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

  • Constructor Details

  • 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 is String
    • 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

      public STSheetState getState()
      Gets the value of the state property.
      Returns:
      possible object is STSheetState
    • setState

      public void setState​(STSheetState value)
      Sets the value of the state property.
      Parameters:
      value - allowed object is STSheetState
    • 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 is String
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.