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 classWebExpressionParser.AttributeElementListHandlerprotected classWebExpressionParser.AttributeFormExpressionHandlerprotected classWebExpressionParser.AttributeFormQualHandlerprotected classWebExpressionParser.ConstantHandlerstatic classWebExpressionParser.ExpressionXMLTypesprotected classWebExpressionParser.MetricExpressionHandlerprotected classWebExpressionParser.MetricQualHandler 
- 
Field Summary
Fields Modifier and Type Field Description protected com.microstrategy.web.objects.WebExpressionImplexp 
- 
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.WebNodeImplcreateMRPNode(boolean isRank, int functionType, int function, WebNode parentNode)protected com.microstrategy.web.objects.WebObjectInfoImplgetObjectInfo(int type, AttributesXt attrsXt)protected voidhandleSimplifiedExpressionType(SAXSupport pParser, com.microstrategy.web.objects.WebNodeImpl parent, AttributesXt attrsXt)WebExpressionparse()This method needs non-empty xml string and expression type have been specified in the constructorWebExpressionParser(WebObjectsFactory, ExpressionXMLTypes, String, WebObjectInfo).voidsetActionType(int actionType)Set dossier transaction action type to the expressionvoidsetIsDossierTransaction(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 WebObjectsExceptionA property to indicate the expression is a dossier transaction expression- Parameters:
 isDossierTransaction-- Throws:
 WebObjectsException
 
- 
setActionType
public void setActionType(int actionType) throws WebObjectsExceptionSet 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) 
 - 
 
 -