Class ExpressionRenderer

java.lang.Object
com.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.ov.ExpressionRenderer
All Implemented Interfaces:
ESIRenderer

public class ExpressionRenderer extends BasicESIRenderer
This class renders the output of expressions assigned to expressionable/choicemappable object.

Supported API: true

Extendable: true
  • Method Details

    • adjustElement

      protected com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem, String expr, Expressionable expressionable, OptionSet optionSet, IndependentAssignedExpression iaExpression)
      Allow subclasses to fix I*E elements.

      Supported API: true
      Parameters:
      elem - : I*E Element
      expr - : String expression representation
      expressionable - : Object expression assigned to
      optionSet - : Option set assigned to root
      iaExpression - : IAExpression associated to expressionable object, is available
      Returns:
    • buildGroups

      protected void buildGroups() throws ESIRendererException
      Renders Independent Assigned Expression object, populates the associated VdbBuilder instance with the respective object information and invokes the renderer for rendering Option and Choice objects.

      Supported API: true
      Specified by:
      buildGroups in class BasicESIRenderer
      Throws:
      ESIRendererException
    • setData

      public void setData(Collection<Expressionable> contexts, Expressionable optionSetAssignable, String auth, String adapter, VdbBuilder builder, com.infoengine.object.factory.Element element) throws ESIRendererException
      Establish the renderer's state so that it can process requests.
      Supported API: true
      Parameters:
      contexts - : Collection of expressionable objects
      optionSetAssignable - : Root object, options set assigned to
      auth - :
      adapter - :
      builder - : Current VDBBuilder
      element - : Current IE*Element
      Throws:
      ESIRendererException
    • validate

      protected void validate() throws ESIRendererException
      Validate expression members for alias.

      Supported API: true
      Specified by:
      validate in class BasicESIRenderer
      Throws:
      ESIRendererException