Package com.microstrategy.web.objects
Class WebExpressionParser
- java.lang.Object
-
- com.microstrategy.web.objects.WebExpressionParser
-
- Direct Known Subclasses:
WebExpressionConditionTXNParser
public class WebExpressionParser extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
WebExpressionParser.AttributeElementListHandler
protected class
WebExpressionParser.AttributeFormExpressionHandler
protected class
WebExpressionParser.AttributeFormQualHandler
protected class
WebExpressionParser.ConstantHandler
static class
WebExpressionParser.ExpressionXMLTypes
protected class
WebExpressionParser.MetricExpressionHandler
protected class
WebExpressionParser.MetricQualHandler
-
Field Summary
Fields Modifier and Type Field Description protected com.microstrategy.web.objects.WebExpressionImpl
exp
-
Constructor Summary
Constructors Constructor Description WebExpressionParser(WebObjectsFactory factory, WebExpressionParser.ExpressionXMLTypes xmlType, java.lang.String xml, WebObjectInfo owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.microstrategy.web.objects.WebNodeImpl
createMRPNode(boolean isRank, int functionType, int function, WebNode parentNode)
protected com.microstrategy.web.objects.WebObjectInfoImpl
getObjectInfo(int type, AttributesXt attrsXt)
protected void
handleSimplifiedExpressionType(SAXSupport pParser, com.microstrategy.web.objects.WebNodeImpl parent, AttributesXt attrsXt)
WebExpression
parse()
This method needs non-empty xml string and expression type have been specified in the constructorWebExpressionParser(WebObjectsFactory, ExpressionXMLTypes, String, WebObjectInfo)
.void
setActionType(int actionType)
Set dossier transaction action type to the expressionvoid
setIsDossierTransaction(boolean isDossierTransaction)
A property to indicate the expression is a dossier transaction expression
-
-
-
Constructor Detail
-
WebExpressionParser
public WebExpressionParser(WebObjectsFactory factory, WebExpressionParser.ExpressionXMLTypes xmlType, java.lang.String xml, WebObjectInfo owner)
-
-
Method Detail
-
setIsDossierTransaction
public void setIsDossierTransaction(boolean isDossierTransaction) throws WebObjectsException
A property to indicate the expression is a dossier transaction expression- Parameters:
isDossierTransaction
-- Throws:
WebObjectsException
-
setActionType
public void setActionType(int actionType) throws WebObjectsException
Set dossier transaction action type to the expression- Parameters:
actionType
- transaction action type- Throws:
WebObjectsException
-
parse
public WebExpression parse() throws WebObjectsException
This method needs non-empty xml string and expression type have been specified in the constructorWebExpressionParser(WebObjectsFactory, ExpressionXMLTypes, String, WebObjectInfo)
.- Returns:
- Throws:
WebObjectsException
-
getObjectInfo
protected com.microstrategy.web.objects.WebObjectInfoImpl getObjectInfo(int type, AttributesXt attrsXt) throws SAXSupportException
- Throws:
SAXSupportException
-
handleSimplifiedExpressionType
protected void handleSimplifiedExpressionType(SAXSupport pParser, com.microstrategy.web.objects.WebNodeImpl parent, AttributesXt attrsXt) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createMRPNode
protected com.microstrategy.web.objects.WebNodeImpl createMRPNode(boolean isRank, int functionType, int function, WebNode parentNode)
-
-