public class TableStructure extends Table
Modifier and Type | Field and Description |
---|---|
protected DocumentValidator |
validator |
captions, colwidths, hideHeaders, includeDoc, showCaptions, showIfEmpty, stereotypeProperties, style, transpose
notToStringSet, sortElementsByName, targets, titles
dgElement, ignore, loop, titlePrefix, titleSuffix, useContextNameAsTitle
Constructor and Description |
---|
TableStructure(DocumentValidator validator) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getCellData(java.util.List<java.util.List<Pair<Reference,java.lang.Boolean>>> row,
gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col) |
java.util.List<Pair<Reference,java.lang.Boolean>> |
getCellReferences(java.util.List<java.util.List<Pair<Reference,java.lang.Boolean>>> row,
gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col) |
protected int |
getColumnIndex(gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col) |
DocumentValidator |
getValidator() |
void |
initialize()
This is called after the query object has been constructed and the
targets and dgElement fields are set
|
void |
parse()
This is called after initialize
|
void |
setValidator(DocumentValidator validator) |
java.util.List<DocumentElement> |
visit(boolean forViewEditor,
java.lang.String outputDir)
This method must be overidden by subclasses to return the result of the
query
|
getCaptions, getColwidths, getStereotypeProperties, getStyle, isHideHeaders, isIncludeDoc, isShowCaptions, isShowIfEmpty, isTranspose, setCaptions, setColwidths, setHideHeaders, setIncludeDoc, setShowCaptions, setShowIfEmpty, setStereotypeProperties, setStyle, setTableThings, setTranspose
accept, getActions, getTargets, getTitles, isSortElementsByName, notToString, setSortElementsByName, setTargets, setTitles, toStringStart
getDgElement, getIgnore, getLoop, getTitlePrefix, getTitleSuffix, getUseContextNameAsTitle, setDgElement, setIgnore, setLoop, setTitlePrefix, setTitleSuffix, setUseContextNameAsTitle, toString, toStringEnd
protected DocumentValidator validator
public TableStructure(DocumentValidator validator)
public void initialize()
Query
initialize
in interface Generatable
initialize
in class Table
public void parse()
Query
parse
in interface Generatable
parse
in class Query
public java.util.List<DocumentElement> visit(boolean forViewEditor, java.lang.String outputDir)
Query
visit
in interface Generatable
visit
in class Query
public java.util.List<Pair<Reference,java.lang.Boolean>> getCellReferences(java.util.List<java.util.List<Pair<Reference,java.lang.Boolean>>> row, gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col)
public java.util.List<java.lang.Object> getCellData(java.util.List<java.util.List<Pair<Reference,java.lang.Boolean>>> row, gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col)
protected int getColumnIndex(gov.nasa.jpl.mbee.mdk.model.TableStructure.TableColumn col)
public DocumentValidator getValidator()
public void setValidator(DocumentValidator validator)