Package | Description |
---|---|
com.ibm.tivoli.maximo.report.cognos.metadata.generator | |
com.ibm.tivoli.maximo.report.expr | |
psdi.app.report |
Modifier and Type | Method and Description |
---|---|
Node |
CognosComplexExpressionBuilder.buildComplexExpression(java.lang.String whereClause)
Givent the sql where clause, convert it to a Cognos complex relationship, or fail it, if it cannot be converted.
|
Node |
CognosComplexExpressionBuilder.MaxRelationshipParserHelper.evaluateNode(Node parent,
Node current) |
static Node |
CognosUtil.parseCognosExpression(java.lang.String cognosExpression)
Parse a Cognos Expression, such as
|
Modifier and Type | Method and Description |
---|---|
Node |
CognosComplexExpressionBuilder.MaxRelationshipParserHelper.evaluateNode(Node parent,
Node current) |
protected java.lang.String |
CognosUtil.CognosObjectCombinerExpressionHelper.getJoinText(int i,
Node first,
Node second) |
static java.lang.String |
CognosUtil.toCognosActionLogXml(Node parsedExpressions)
Transform the parsed cognos expression into a cognos xml node with refobj references
|
java.lang.String |
CognosUtil.CognosActionLogXmlTransformer.transform(Node n) |
Modifier and Type | Field and Description |
---|---|
Node |
Node.parent |
Modifier and Type | Method and Description |
---|---|
Node |
Node.child(int i) |
protected Node |
JoiningParserHelper.combineNodes(Node parent,
java.util.List nodes)
Combine the nodes into a single Node, applying any Joining Text, and Node Type information.
|
Node |
MultiParserHelper.evaluateNode(Node parent,
Node current) |
Node |
JoiningParserHelper.evaluateNode(Node parent,
Node current) |
Node |
ExprParser.ParserHelper.evaluateNode(Node parent,
Node current)
Parser Helper allows a subclass to extend the parser to create new
node types, or change the parse tree during parsing.
|
protected Node |
SafeDivideValidator.findLiteralInGroup(Node sib) |
Node |
Collector.first()
Return the first collected node
|
Node |
SafeDivideValidator.getDenominatorNode(Node divOperand)
Get the attribute/function/keyword node that is being used in the
denominoator portion of the divide expression.
|
Node |
Node.last()
Return the last child node
|
Node |
Node.nextSibling()
Find the sibling that is adjacent after us
|
static Node |
ExprParser.parse(java.lang.String expression)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
ExprParser.ParserHelper parserHelper)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
com.ibm.icu.util.ULocale locale)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
com.ibm.icu.util.ULocale locale,
ExprParser.ParserHelper parserHelper)
Given an expression, return a parse tree of the expression.
|
Node |
ExprParser.parseExpression(java.lang.String str,
com.ibm.icu.util.ULocale locale,
ExprParser.ParserHelper helper)
Parses an expression using a given decimal separator.
|
Node |
Node.prevSibling()
Find the sibling that is adjacent before us
|
Modifier and Type | Method and Description |
---|---|
boolean |
SafeDivideValidator.accept(Node n) |
boolean |
WhitelistValidator.accept(Node n) |
boolean |
HasAttributeValidator.accept(Node n) |
boolean |
DivideByZeroValidator.accept(Node n) |
boolean |
CaseWhenCollector.accept(Node n) |
abstract boolean |
Collector.accept(Node n)
Return true if this node can be accepted by the Collector
|
boolean |
TypeCollector.accept(Node n) |
boolean |
ValueCollector.accept(Node n) |
boolean |
BooleanCaseWhenCollector.accept(Node n) |
void |
Node.addChild(Node node)
Adds a child to node...
|
void |
ExprParser.addChild(Node parent,
Node child) |
protected void |
Collector.addNode(Node n) |
protected Node |
JoiningParserHelper.combineNodes(Node parent,
java.util.List nodes)
Combine the nodes into a single Node, applying any Joining Text, and Node Type information.
|
protected boolean |
JoiningParserHelper.compareNodes(int index,
Node parsedNode,
Node pattenNode)
Performs the node comparison...
|
Node |
MultiParserHelper.evaluateNode(Node parent,
Node current) |
Node |
JoiningParserHelper.evaluateNode(Node parent,
Node current) |
Node |
ExprParser.ParserHelper.evaluateNode(Node parent,
Node current)
Parser Helper allows a subclass to extend the parser to create new
node types, or change the parse tree during parsing.
|
protected java.util.List |
JoiningParserHelper.fillPattern(Node parent,
Node current)
Fill an array of nodes, that match, in size, to the pattern that we are looking for.
|
protected Node |
SafeDivideValidator.findLiteralInGroup(Node sib) |
java.lang.String |
SafeDivideValidator.getDenominator(Node divOperand)
returns the attribute that is in the denominator
|
Node |
SafeDivideValidator.getDenominatorNode(Node divOperand)
Get the attribute/function/keyword node that is being used in the
denominoator portion of the divide expression.
|
protected java.lang.String |
JoiningParserHelper.getJoinText(int i,
Node first,
Node second)
Subclasses can override to add text between nodes when they are joined into a single node.
|
protected boolean |
DivideByZeroValidator.isDivideByZero(Node n) |
protected void |
ToStringVisitor.printNodeEnd(Node n) |
protected void |
ToStringVisitor.printNodeStart(Node n) |
protected void |
ToStringVisitor.printWhitespace(Node n) |
void |
Node.removeChild(Node node)
Removes a child from our children, if it exists.
|
java.lang.String |
MultiToStringTransformer.transform(Node n) |
java.lang.String |
MaximoMacroTransformer.transform(Node n) |
java.lang.String |
ColumnNameTransformer.transform(Node n) |
java.lang.String |
ToStringVisitor.Transformer.transform(Node n)
If this returns a NON NULL value, then this value will replace the
Node's .value value, when writing it into the String.
|
Node.Visitor.Status |
Node.Visitor.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
ToStringVisitor.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
Collector.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
Node.visitChildren(Node.Visitor vis,
Node parent)
Applies the visitor to the children of the given Parent, but NOT the
parent itself.
|
Constructor and Description |
---|
JoiningParserHelper(Node[] pattern) |
Node(Node parent,
int type,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static Node |
ReportUtil.parseExpression(java.lang.String expression,
com.ibm.icu.util.ULocale icuLocale)
Returns a parse tree of the provided expression that uses the decimal separator for the given locale.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ReportUtil.hasAttribute(Node expression,
java.lang.String objectName,
java.util.Set validAttributes) |
static void |
ReportUtil.validateExpression(Node parsedExpr,
java.lang.String objectName,
java.util.Set validAttributes,
java.lang.String category)
Validates the expression represented by the passed parse tree against the set of valid
attributes and the contents of the report expression library.
|