public abstract class AbstractValueProvider<Value,XWPFElement> extends java.lang.Object implements IValueProvider<Value,XWPFElement>
| Constructor and Description |
|---|
AbstractValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getDefaultStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected Value |
getDefaultValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected java.lang.String |
getKey(XWPFElement element,
XWPFStylesDocument stylesDocument,
java.lang.String styleId,
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type) |
protected java.lang.StringBuilder |
getKeyBuffer(XWPFElement element,
XWPFStylesDocument stylesDocument,
java.lang.String styleId,
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type) |
protected abstract org.apache.poi.xwpf.usermodel.XWPFTableCell |
getParentTableCell(XWPFElement element)
Returns the table cell which is the parent of the XWPF element and null otherwise
|
protected Value |
getStaticValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract java.lang.String[] |
getStyleID(XWPFElement element) |
Value |
getValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected Value |
getValueFromDefaultStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
XWPFStylesDocument stylesDocument) |
protected Value |
getValueFromDocDefaultsStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
abstract Value |
getValueFromElement(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStylesDocument stylesDocument) |
java.lang.Object |
getValueFromStyleIds(XWPFElement element,
XWPFStylesDocument stylesDocument,
java.lang.Object defaultValue) |
Value |
getValueFromStyles(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr,
XWPFStylesDocument stylesDocument) |
Value |
internalGetValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
public Value getValue(XWPFElement element, XWPFStylesDocument stylesDocument)
getValue in interface IValueProvider<Value,XWPFElement>public Value internalGetValue(XWPFElement element, XWPFStylesDocument stylesDocument)
public Value getValueFromStyles(XWPFElement element, XWPFStylesDocument stylesDocument)
public java.lang.Object getValueFromStyleIds(XWPFElement element, XWPFStylesDocument stylesDocument, java.lang.Object defaultValue)
public abstract Value getValueFromElement(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getDefaultValue(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getStaticValue(XWPFElement element, XWPFStylesDocument stylesDocument)
protected java.lang.String getKey(XWPFElement element, XWPFStylesDocument stylesDocument, java.lang.String styleId, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
protected java.lang.StringBuilder getKeyBuffer(XWPFElement element, XWPFStylesDocument stylesDocument, java.lang.String styleId, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
protected abstract java.lang.String[] getStyleID(XWPFElement element)
protected abstract Value getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, XWPFStylesDocument stylesDocument)
protected abstract Value getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr, XWPFStylesDocument stylesDocument)
protected Value getValueFromDefaultStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getValueFromDocDefaultsStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected abstract Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults, XWPFStylesDocument stylesDocument)
protected abstract org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected abstract org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(XWPFElement element)
element - Copyright © 2019. All Rights Reserved.