Package de.mid.innovator.srv2api.icw2dm
Class DMLiteralExpressionHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2dm.DMLiteralExpressionHelper
-
public abstract class DMLiteralExpressionHelper extends java.lang.Object
The classDMLiteralExpression
is used to model a value expression whose value is specified by text in some specified expression language.- See Also:
DMLiteralExpression
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DMLiteralExpression
create(SrvContext srvCtx, ELContainerAble ohContainer, java.lang.String strText)
Creates a newDMLiteralExpression
with an unformatted text as content of the specifiedELContainerAble
.static DMLiteralExpression
create(SrvContext srvCtx, ELContainerAble ohContainer, java.lang.String strText, java.lang.String strFlowText, DMInformationItem ohRef)
Creates a newDMLiteralExpression
with a formatted text and a referencedDMInformationItem
as content of the specifiedELContainerAble
.
-
-
-
Method Detail
-
create
public static DMLiteralExpression create(SrvContext srvCtx, ELContainerAble ohContainer, java.lang.String strText, java.lang.String strFlowText, DMInformationItem ohRef) throws InoNetException, SrvErrorException
Creates a newDMLiteralExpression
with a formatted text and a referencedDMInformationItem
as content of the specifiedELContainerAble
.- Parameters:
srvCtx
- The context of the related innovator server.ohContainer
- container for the new literal expressionstrText
- text for the new literal expressionstrFlowText
- formatted text for the new literal expressionohRef
- information item which is referenced by the expression text- Throws:
InoNetException
SrvErrorException
-
create
public static DMLiteralExpression create(SrvContext srvCtx, ELContainerAble ohContainer, java.lang.String strText) throws InoNetException, SrvErrorException
Creates a newDMLiteralExpression
with an unformatted text as content of the specifiedELContainerAble
.- Parameters:
srvCtx
- The context of the related innovator server.ohContainer
- container for the new literal expressionstrText
- text for the new literal expression- Throws:
InoNetException
SrvErrorException
-
-