public class WorksheetPart extends JaxbSmlPart<Worksheet>
binder, logjaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
WorksheetPart() |
WorksheetPart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
WorkbookPart |
getWorkbookPart()
Get the WorkbookPart.
|
static WorksheetPart |
getWorksheetPart(Cell cell)
Given a cell, get its WorksheetPart
|
static WorksheetPart |
getWorksheetPart(Row row)
Given a row, get its WorksheetPart
|
static WorksheetPart |
getWorksheetPart(SheetData sheetData)
Given SheetData, get its WorksheetPart
|
static WorksheetPart |
getWorksheetPart(Worksheet worksheet)
Given a worksheet, get its WorksheetPart
|
void |
init() |
void |
setJaxbElement(Worksheet jaxbElement)
You can't use this override to create/update a binder, since this would set the
jaxbElement field to something different to the object being passed in
(as a consequence of the process to create a binder).
|
Worksheet |
unmarshal(org.w3c.dom.Element el) |
Worksheet |
unmarshal(java.io.InputStream is)
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
newPartForContentTypecreateBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPathaddMcChoiceNamespace, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, transformToDom, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic WorksheetPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic WorksheetPart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public void setJaxbElement(Worksheet jaxbElement)
JaxbXmlPartXPathAwaresetJaxbElement in class JaxbXmlPartXPathAware<Worksheet>public Worksheet unmarshal(java.io.InputStream is) throws javax.xml.bind.JAXBException
JaxbXmlPartXPathAwareImplements Unmarshal Global Root Element.
unmarshal in class JaxbXmlPartXPathAware<Worksheet>is - the InputStream to unmarshal XML data fromjavax.xml.bind.JAXBException - If any unexpected errors occur while unmarshallingpublic Worksheet unmarshal(org.w3c.dom.Element el) throws javax.xml.bind.JAXBException
unmarshal in class JaxbXmlPartXPathAware<Worksheet>javax.xml.bind.JAXBExceptionpublic WorkbookPart getWorkbookPart()
public static WorksheetPart getWorksheetPart(Cell cell)
public static WorksheetPart getWorksheetPart(Row row)
public static WorksheetPart getWorksheetPart(SheetData sheetData)
public static WorksheetPart getWorksheetPart(Worksheet worksheet)
Copyright © 2007–2023. All rights reserved.