Package com.microstrategy.web.objects
Interface WebExpression
- 
 public interface WebExpressionThe WebExpression interface represents a filter expression, which is composed of one or moreWebNodeobjects. The root node of an expression can never be null, and cannot be changed by the user. The root node is generally an operator node with function type "and" or "or". However, if an expression is obtained from the server, then it does not necessarily have to be rooted at an and or or node. The expression usually exists as part ofWebPrompt,WebElementSource,WebFilter, andWebTemplateobjects.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WebOperatorNodechangeMetricFunctionType(WebOperatorNode rootOperatorNode, int functionType, int function)Changes the metric function type to the given type.voidclear()Removes all nodes from the expression tree, leaving only a single "AND" operator node with no child nodes at the root of the tree.WebBigDecimalNodecreateBigDecimalNode(java.lang.String value)Creates aWebBigDecimalNodeobject.WebBigDecimalNodecreateBigDecimalNode(java.lang.String value, WebNode parent)Creates aWebBigDecimalNodeobject.WebConstantNodecreateConstantNode(java.lang.String value, int dataType)Creates a constant node with the given value and datatype, and appends it to the root node of the expression tree.WebConstantNodecreateConstantNode(java.lang.String value, int dataType, WebNode parent)Creates a constant node with the given value and datatype, and appends it to the given node.WebElementsObjectNodecreateElementsInListNode(WebObjectInfo wa, int func)WebElementsObjectNodecreateElementsInListNode(WebObjectInfo wa, int func, WebNode parent)WebElementsObjectNodecreateElementsObjectNode()Creates an element list node, which is used to represent a list of elements in an expression.WebElementsObjectNodecreateElementsObjectNode(WebNode parent)Creates an element list node, which is used to represent a list of elements in an expression.WebElementsObjectNodecreateElementsObjectNode(WebObjectInfo source)Creates an element list node which contains elements from the given attribute.WebElementsObjectNodecreateElementsObjectNode(WebObjectInfo source, WebNode parent)Creates an element list node which contains elements from the given attribute.WebFormShortcutNodecreateFormShortcutNode(WebAttribute attributeInfo, WebAttributeForm formInfo)Creates a form shortcut node to the given attribute form, and appends it to the current root node.WebFormShortcutNodecreateFormShortcutNode(WebAttribute attributeInfo, WebAttributeForm formInfo, WebNode parent)Creates a form shortcut node to the given attribute form, and appends it to the given node.WebGroupNodecreateGroupNode(WebNode parent)Deprecated.WebNodecreateMeNode(WebNode parent)Creates a me node, and appends it to the given node.WebOperatorNodecreateMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a percent function.WebOperatorNodecreateMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator, boolean ascending)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function.WebOperatorNodecreateMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator, WebNode parent)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a percent function.WebOperatorNodecreateMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function.WebOperatorNodecreateMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator, boolean ascending)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function.WebOperatorNodecreateMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator, WebNode parent)Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function.WebNodecreateNode(java.lang.String expression)Creates a newWebNodeobject using the expression provided and appends it to the root node.WebNodecreateNode(java.lang.String expression, WebNode parent)Creates a newWebNodeobject using the expression provided and appends it to the given node.WebOperatorNodecreateOperatorNode(int expressionType, int function)Creates an operator node with the given expression type and function type, and appends it to the root node of the tree.WebOperatorNodecreateOperatorNode(int expressionType, int function, WebNode parent)Creates an operator node with the given expression type and function type, and appends it to the given node within the expression tree.WebOperatorNodecreateOperatorNode(int expressionType, int function, WebNode parent, int nodeProperty)WebRefNodecreateRefNode(WebDerivedElement objectInfo, WebNode parent)WebRelationshipNodecreateRelationshipNode()Creates a new relationship node, and appends it to the root of the expression.WebRelationshipNodecreateRelationshipNode(WebNode parentNode)Creates a new relationship node, and appends it to the given node.WebResidueNodecreateResidueNode(WebAttribute attribute, WebNode parent)WebShortcutNodecreateShortcutNode(WebObjectInfo objectInfo)Creates a shortcut node to the given object, and appends it to the root node of the expression tree.WebShortcutNodecreateShortcutNode(WebObjectInfo objectInfo, WebNode parent)Creates a shortcut node to the given object, and appends it to the given node.WebTimeNodecreateTimeNode(java.lang.String time)Creates aWebTimeNodeobject as a child of the root of the expression.WebTimeNodecreateTimeNode(java.lang.String time, WebNode parent)Creates aWebTimeNodeobject.WebNodefindNode(int key)Returns theWebNodewithin the expression tree with the given key.WebNodefindNodeOrNull(int key)WebNodefindTaggedNode(java.lang.String tag)This method will search the expression for a node with the given tag.WebExpressionHelpergetExpressionHelper()This method is used to obtain aWebExpressionHelperobject linked to this expression.java.util.List<WebNodePlaceHolder>getPlaceHolders()Returns a list of placeholders defined in the nodes of this expression.WebNodegetRootNode()Returns the current root node of the expression.intgetSubExpressionCount()Returns the number of subexpressions of the root node.java.lang.StringgetXML()java.lang.StringgetXML(boolean removeEmpty)Builds an expression XMLWebNodeimportNode(WebNode otherNode)This method is used to transfer node subtrees between two expressions.booleanisModified()Returns whether this expression object has been modified.voidpopulate(WebExpression expr)Populates the current expression from the definition of the given expression.voidpopulate(java.lang.String expressionText)Populates WebExpression based on a string expression.voidsetExpressionHelper(WebExpressionHelper value)voidsetModified(boolean isModified)This method allows the user to mark this expression object as modified or unmodified.
 
- 
- 
- 
Method Detail- 
getRootNodeWebNode getRootNode() Returns the current root node of the expression. While this node's properties can be changed (for example, the function being applied), the actual root node cannot be replaced.- Returns:
- The current root operator node of the expression.
 
 - 
getSubExpressionCountint getSubExpressionCount() Returns the number of subexpressions of the root node. This will be a simple count of the number of children of the root node.- Returns:
- The number of subexpressions of the root node.
 
 - 
findNodeWebNode findNode(int key) throws java.lang.IllegalArgumentException Returns theWebNodewithin the expression tree with the given key.- Parameters:
- key- The key to find within the expression tree.
- Returns:
- A WebNodeobject corresponding to the given key, or null if the key does not exist in the expression tree.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the key is not found in the expression.
 
 - 
importNodeWebNode importNode(WebNode otherNode) throws java.lang.IllegalArgumentException This method is used to transfer node subtrees between two expressions. This must be done before appending a node from one expression to a node in another expression. If a node from another expression is passed to this method, a copy of the node is returned. This copy will be associated with the instance of WebExpression which this method was called on. Note that the import process will cause the keys of the subexpression to be reassigned. Finally, the copy of the node will be returned from this method; this copy can be appended anywhere within the expression that this method is called upon.- Parameters:
- otherNode- The node to import into this expression. This node will remain untouched in it's original expression.
- Returns:
- A copy of the node passed to this method. The copy will be associated with this expression object.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the parameter is null.
 
 - 
clearvoid clear() throws java.lang.UnsupportedOperationExceptionRemoves all nodes from the expression tree, leaving only a single "AND" operator node with no child nodes at the root of the tree.- Throws:
- java.lang.UnsupportedOperationException- Thrown if the object is read-only.
 
 - 
createOperatorNodeWebOperatorNode createOperatorNode(int expressionType, int function) Creates an operator node with the given expression type and function type, and appends it to the root node of the tree.- Parameters:
- expressionType- The type of the subexpression rooted at the operator node, from- EnumDSSXMLExpressionType.
- function- The function to assign to the operator node, from- EnumDSSXMLFunction.
- Returns:
- The newly created node, of type WebOperatorNode.
 
 - 
createOperatorNodeWebOperatorNode createOperatorNode(int expressionType, int function, WebNode parent) Creates an operator node with the given expression type and function type, and appends it to the given node within the expression tree.- Parameters:
- expressionType- The type of the subexpression rooted at the operator node, from- EnumDSSXMLExpressionType.
- function- The function to assign to the operator node, from- EnumDSSXMLFunction.
- parent- A- WebOperatorNodeobject which will serve as the parent of the newly created operator node
- Returns:
- The newly created node, of type WebOperatorNode.
 
 - 
createOperatorNodeWebOperatorNode createOperatorNode(int expressionType, int function, WebNode parent, int nodeProperty) 
 - 
createConstantNodeWebConstantNode createConstantNode(java.lang.String value, int dataType) Creates a constant node with the given value and datatype, and appends it to the root node of the expression tree.- Parameters:
- value- The constant value being represented by the constant node. This value should be in string format regardless of the data type.
- dataType- The data type of the constant value. This should be a value from- EnumDSSXMLDataType.
- Returns:
- The newly created node, of type WebConstantNode.
 
 - 
createConstantNodeWebConstantNode createConstantNode(java.lang.String value, int dataType, WebNode parent) Creates a constant node with the given value and datatype, and appends it to the given node.- Parameters:
- value- The constant value being represented by the constant node. This value should be in string format regardless of the data type.
- dataType- The data type of the constant value. This should be a value from- EnumDSSXMLDataType.
- parent- The node which the newly created node should be appended to.
- Returns:
- The newly created WebConstantNodeobject.
 
 - 
createTimeNodeWebTimeNode createTimeNode(java.lang.String time) Creates aWebTimeNodeobject as a child of the root of the expression. This is used when creating a qualification on an attribute form with a time-based datatype.- Parameters:
- time- The string representation of the time to use for the node.
- Returns:
- The newly created WebTimeNodeobject.
 
 - 
createTimeNodeWebTimeNode createTimeNode(java.lang.String time, WebNode parent) Creates aWebTimeNodeobject. This is used when creating a qualification on an attribute form with a time-based datatype.- Parameters:
- time- The string representation of the time to use for the node.
- parent- The node to append the newly created one to.
- Returns:
- The newly created WebTimeNodeobject.
 
 - 
createBigDecimalNodeWebBigDecimalNode createBigDecimalNode(java.lang.String value) Creates aWebBigDecimalNodeobject. This is used when creating a qualification on an attribute form with a big decimal datatype.- Parameters:
- value- The string representation of the node value.
- Returns:
- The newly created WebBigDecimalNodeobject.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
createBigDecimalNodeWebBigDecimalNode createBigDecimalNode(java.lang.String value, WebNode parent) Creates aWebBigDecimalNodeobject. This is used when creating a qualification on an attribute form with a big decimal datatype.- Parameters:
- value- The string representation of the node value.
- parent- The node to append the newly created one to.
- Returns:
- The newly created WebBigDecimalNodeobject.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
createShortcutNodeWebShortcutNode createShortcutNode(WebObjectInfo objectInfo) throws java.lang.IllegalArgumentException Creates a shortcut node to the given object, and appends it to the root node of the expression tree.- Parameters:
- objectInfo- The- WebObjectInfoobject which a shortcut is being made to.
- Returns:
- The newly created WebShortcutNodeobject.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the value of the- WebObjectInfoobject is null.
 
 - 
createShortcutNodeWebShortcutNode createShortcutNode(WebObjectInfo objectInfo, WebNode parent) throws java.lang.IllegalArgumentException Creates a shortcut node to the given object, and appends it to the given node.- Parameters:
- objectInfo- The- WebObjectInfoobject which a shortcut is being made to.
- parent- The node which the newly created node will be appended to.
- Returns:
- The newly created WebShortcutNodeobject.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the value of the- WebObjectInfoobject is null.
 
 - 
createMeNodeWebNode createMeNode(WebNode parent) throws java.lang.IllegalArgumentException Creates a me node, and appends it to the given node.- Parameters:
- parent- The node which the newly created node will be appended to.
- Returns:
- The newly created WebShortcutNodeobject.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the value of the- WebObjectInfoobject is null.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createFormShortcutNodeWebFormShortcutNode createFormShortcutNode(WebAttribute attributeInfo, WebAttributeForm formInfo) throws java.lang.IllegalArgumentException Creates a form shortcut node to the given attribute form, and appends it to the current root node.- Parameters:
- attributeInfo- The attribute whose form the shortcut points to.
- formInfo- The attribute form which the shortcut refers to.
- Returns:
- The newly created WebFormShortcutNodeobject.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the- WebObjectInfoobjects are null.
 
 - 
createFormShortcutNodeWebFormShortcutNode createFormShortcutNode(WebAttribute attributeInfo, WebAttributeForm formInfo, WebNode parent) throws java.lang.IllegalArgumentException Creates a form shortcut node to the given attribute form, and appends it to the given node.- Parameters:
- attributeInfo- The attribute whose form the shortcut points to.
- formInfo- The attribute form which the shortcut refers to.
- parent- The node which the new node will be appended to.
- Returns:
- The newly created WebFormShortcutNodeobject.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the- WebObjectInfoobjects are null.
 
 - 
createRelationshipNodeWebRelationshipNode createRelationshipNode() Creates a new relationship node, and appends it to the root of the expression.- Returns:
- The newly created WebRelationshipNodeobject.
 
 - 
createRelationshipNodeWebRelationshipNode createRelationshipNode(WebNode parentNode) Creates a new relationship node, and appends it to the given node.- Parameters:
- parentNode- The node which is meant to be the parent of the newly created node.
- Returns:
- The newly created WebRelationshipNodeobject.
 
 - 
createElementsObjectNodeWebElementsObjectNode createElementsObjectNode() Creates an element list node, which is used to represent a list of elements in an expression. The new node will be appended to the root of the expression tree.- Returns:
- The newly created WebElementsObjectNodeobject.
 
 - 
createElementsObjectNodeWebElementsObjectNode createElementsObjectNode(WebObjectInfo source) Creates an element list node which contains elements from the given attribute. The new node will be appended to the root of the expression tree.- Parameters:
- source- A- WebAttributeobject representing the attribute which the element list will come from.
- Returns:
- The newly created WebElementsObjectNodeobject.
 
 - 
createElementsObjectNodeWebElementsObjectNode createElementsObjectNode(WebNode parent) Creates an element list node, which is used to represent a list of elements in an expression. The new node will be appended to the given parent node.- Parameters:
- parent- The node to append the newly created node to.
- Returns:
- The newly created WebElementsObjectNodeobject.
 
 - 
createElementsObjectNodeWebElementsObjectNode createElementsObjectNode(WebObjectInfo source, WebNode parent) Creates an element list node which contains elements from the given attribute. The new node will be appended to the given parent node.- Parameters:
- source- A- WebAttributeobject representing the attribute which the element list will come from.
- parent- The node to append the newly created node to.
- Returns:
- The newly created WebElementsObjectNodeobject.
 
 - 
createMetricRankOperatorNodeWebOperatorNode createMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function. This method will assume that the parent node of this one will be the root node of the expression.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
 
 - 
createMetricRankOperatorNodeWebOperatorNode createMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator, WebNode parent) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function. The newly-created node will be appended to the given node.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- parent- The parent node of the newly created node.
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
 
 - 
createMetricRankOperatorNodeWebOperatorNode createMetricRankOperatorNode(WebObjectInfo metricInfo, int mrpOperator, boolean ascending) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function. The newly-created node will be appended to the given node.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- ascending- The boolean value which indicate the order of rank function
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createMetricPercentOperatorNodeWebOperatorNode createMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a percent function. This method will assume that the parent node of this one will be the root node of the expression.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
 
 - 
createMetricPercentOperatorNodeWebOperatorNode createMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator, WebNode parent) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a percent function. The newly-created node will be appended to the given node.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- parent- The parent node of the newly created node.
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
 
 - 
createMetricPercentOperatorNodeWebOperatorNode createMetricPercentOperatorNode(WebObjectInfo metricInfo, int mrpOperator, boolean ascending) throws java.lang.IllegalArgumentException Creates a node and all the required sub-nodes to enable users to build expression that qualify on metric using a rank function. The newly-created node will be appended to the given node.- Parameters:
- metricInfo- Specifies the metric to be qualified upon.
- mrpOperator- Specifies the operator for metric qualification. This value should come from- EnumWebMRPFunction.
- ascending- The boolean value which indicate the order of rank function
- Returns:
- Returns the root WebOperatorNodeof the nodes which are created for this operation.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the metricInfo node is null or is not of type metric. Also thrown if the MRP operator is invalid.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getExpressionHelperWebExpressionHelper getExpressionHelper() This method is used to obtain aWebExpressionHelperobject linked to this expression. TheWebExpressionHelperobject has several helper methods for manipulating the expression tree.- Returns:
- A WebExpressionHelperobject linked to this expression.
 
 - 
setExpressionHelpervoid setExpressionHelper(WebExpressionHelper value) - Since:
- MicroStrategy Web 8.0.2
 
 - 
findTaggedNodeWebNode findTaggedNode(java.lang.String tag) This method will search the expression for a node with the given tag. Either the first one found, or null if none are found, will be returned. There is no guarantee as to which node will be returned from this method if more than one has the tag passed to this method.- Parameters:
- tag- The tag to search for in the expression.
- Returns:
- The first WebNodefound with the given tag, or null if no node with the given tag is found.
 
 - 
populatevoid populate(WebExpression expr) Populates the current expression from the definition of the given expression. This will effectively make a copy of the structure of the expression passed in within this expression.- Parameters:
- expr- A- WebExpressionobject whose definition is to be copied into this object.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
isModifiedboolean isModified() Returns whether this expression object has been modified.- Returns:
- True if the expression has been modified, false otherwise.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
setModifiedvoid setModified(boolean isModified) This method allows the user to mark this expression object as modified or unmodified. This is useful when using a copy of an expression to save previous expression state.- Parameters:
- isModified- The new value for isModified. This will override the current setting for this parameter.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
changeMetricFunctionTypeWebOperatorNode changeMetricFunctionType(WebOperatorNode rootOperatorNode, int functionType, int function) Changes the metric function type to the given type. This method assumes that the operator node is well-formed, i.e. that it has a shortcut to the metric which is being qualified upon set up appropriately. It will then change the function type of the node, setting up the rest of the tree properly.- Parameters:
- rootOperatorNode- The operator node whose function type is being changed.
- functionType- The function type, from- EnumWebFunctionType, to change the node to.
- function- The function, from either- EnumDSSXMLFunctionfor a generic qualification, or from- EnumWebMRPFunctionfor a metric rank/percent function.
- Returns:
- The modified node. In practice, this will be the same as the node passed in.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
getXMLjava.lang.String getXML() - Since:
- MicroStrategy Web 8.0.2
 
 - 
getXMLjava.lang.String getXML(boolean removeEmpty) Builds an expression XML- Parameters:
- removeEmpty- Indicates whethe empty nodes shall be removed from the expression before building.
- Returns:
- XML string
 
 - 
createRefNodeWebRefNode createRefNode(WebDerivedElement objectInfo, WebNode parent) throws java.lang.IllegalArgumentException - Throws:
- java.lang.IllegalArgumentException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createGroupNodeWebGroupNode createGroupNode(WebNode parent) throws java.lang.IllegalArgumentException Deprecated.Creates aWebNodeobject with type DSSXmlNodeGroup enumeration defined inEnumDSSXMLNodeType. This is not used in OOTB Web.- Throws:
- java.lang.IllegalArgumentException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createResidueNodeWebResidueNode createResidueNode(WebAttribute attribute, WebNode parent) throws java.lang.IllegalArgumentException - Throws:
- java.lang.IllegalArgumentException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
populatevoid populate(java.lang.String expressionText) throws WebObjectsExceptionPopulates WebExpression based on a string expression. It supports everything that the backend expression parser supports like Region@ID=2 or Region@Desc in ("North-East"). This is not currently used by OOTB Web but it is used by the Command Manager.- Throws:
- WebObjectsException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createNodeWebNode createNode(java.lang.String expression) throws WebObjectsException Creates a newWebNodeobject using the expression provided and appends it to the root node.- Parameters:
- expression- Expression string, like "[Customer Age]@ID < 25.0" for example.
- Returns:
- Newly created node
- Throws:
- WebObjectsException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createNodeWebNode createNode(java.lang.String expression, WebNode parent) throws WebObjectsException Creates a newWebNodeobject using the expression provided and appends it to the given node.- Parameters:
- expression- Expression string, like "[Customer Age]@ID < 25.0" for example.
- parent- Node to which to append the new node
- Returns:
- Newly created node
- Throws:
- WebObjectsException
- Since:
- MicroStrategy Web 9.0.0
 
 - 
createElementsInListNodeWebElementsObjectNode createElementsInListNode(WebObjectInfo wa, int func) - Since:
- MicroStrategy Web 8.1.2
 
 - 
createElementsInListNodeWebElementsObjectNode createElementsInListNode(WebObjectInfo wa, int func, WebNode parent) - Since:
- MicroStrategy Web 8.1.2
 
 - 
findNodeOrNullWebNode findNodeOrNull(int key) - Since:
- MicroStrategy Web 9.0.1
 
 - 
getPlaceHoldersjava.util.List<WebNodePlaceHolder> getPlaceHolders() Returns a list of placeholders defined in the nodes of this expression.- Returns:
- An immutable list of placeholders
 
 
- 
 
-