public class DataNodeBinder extends AXlsTableBinder
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_INDEX |
| Constructor and Description |
|---|
DataNodeBinder() |
| Modifier and Type | Method and Description |
|---|---|
protected ILogicalTable |
getTableBody(TableSyntaxNode tsn) |
protected ColumnDescriptor[] |
makeDescriptors(ITable tableToProcess,
IOpenClass tableType,
IBindingContext bindingContext,
OpenL openl,
boolean hasColumnTitleRow,
ILogicalTable horizDataTableBody,
ILogicalTable descriptorRows,
ILogicalTable dataWithTitleRows) |
protected ATableBoundNode |
makeNode(TableSyntaxNode tsn,
XlsModuleOpenClass module,
IBindingContext bindingContext) |
protected ITable |
makeTable(XlsModuleOpenClass xlsOpenClass,
TableSyntaxNode tableSyntaxNode,
String tableName,
IOpenClass tableType,
IBindingContext bindingContext,
OpenL openl,
boolean useRegistered)
Default method.
|
IMemberBoundNode |
preBind(TableSyntaxNode tableSyntaxNode,
OpenL openl,
IBindingContext bindingContext,
XlsModuleOpenClass module) |
void |
processTable(XlsModuleOpenClass xlsOpenClass,
ITable tableToProcess,
ILogicalTable tableBody,
String tableName,
IOpenClass tableType,
IBindingContext bindingContext,
OpenL openl,
boolean hasColumnTitleRow)
Populate the
ITable with data from ILogicalTable. |
static void |
putSubTableForBussinesView(TableSyntaxNode tableSyntaxNode,
IOpenClass tableType)
Adds sub table for displaying on bussiness view.
|
bindassertCountOfChild, assertNotNull, bindChildNode, bindChildren, bindChildren, bindMethod, bindTarget, bindTargetNode, bindType, bindTypeChildren, bindTypeChildren, bindTypeNode, getCast, getCast, getIdentifier, getType, getTypes, hasErrorBoundNode, makeErrorNode, replacepublic static final int TYPE_INDEX
protected ATableBoundNode makeNode(TableSyntaxNode tsn, XlsModuleOpenClass module, IBindingContext bindingContext)
protected ILogicalTable getTableBody(TableSyntaxNode tsn)
public IMemberBoundNode preBind(TableSyntaxNode tableSyntaxNode, OpenL openl, IBindingContext bindingContext, XlsModuleOpenClass module) throws Exception
preBind in class AXlsTableBinderExceptionpublic void processTable(XlsModuleOpenClass xlsOpenClass, ITable tableToProcess, ILogicalTable tableBody, String tableName, IOpenClass tableType, IBindingContext bindingContext, OpenL openl, boolean hasColumnTitleRow) throws Exception
ITable with data from ILogicalTable.xlsOpenClass - Open class representing OpenL module.tableToProcess - Table to be processed.tableBody - Body of the table (without header and properties sections). Its like a source to process
ITable with data.tableName - Name of the outcome table.tableType - Type of the data in table.bindingContext - OpenL context.openl - OpenL instance.hasColumnTitleRow - Flag representing if tableBody has title row for columns.Exceptionprotected ColumnDescriptor[] makeDescriptors(ITable tableToProcess, IOpenClass tableType, IBindingContext bindingContext, OpenL openl, boolean hasColumnTitleRow, ILogicalTable horizDataTableBody, ILogicalTable descriptorRows, ILogicalTable dataWithTitleRows) throws Exception
Exceptionpublic static void putSubTableForBussinesView(TableSyntaxNode tableSyntaxNode, IOpenClass tableType)
tableSyntaxNode - TableSyntaxNode representing table.tableType - Type of the data in table.protected ITable makeTable(XlsModuleOpenClass xlsOpenClass, TableSyntaxNode tableSyntaxNode, String tableName, IOpenClass tableType, IBindingContext bindingContext, OpenL openl, boolean useRegistered) throws Exception
TRUE. calls
processTable(XlsModuleOpenClass, ITable, ILogicalTable, String, IOpenClass, IBindingContext, OpenL, boolean)
to populate ITable with data. Also adds to TableSyntaxNode sub table for displaying on
business view.xlsOpenClass - Open class representing OpenL module.tableSyntaxNode - TableSyntaxNode to be processed.tableName - Name of the outcome table.tableType - Type of the data in table.bindingContext - OpenL context.openl - OpenL instance.ExceptionCopyright © 2004–2019 OpenL Tablets. All rights reserved.