Class XMLConstantNode

    • Method Detail

      • getConstantValueAsObject

        java.lang.Object getConstantValueAsObject()
                                           throws StandardException
        Return an Object representing the bind time value of this expression tree. If the expression tree does not evaluate to a constant at bind time then we return null.
        Overrides:
        getConstantValueAsObject in class ValueNode
        Returns:
        An Object representing the bind time value of this expression tree (null if not a bind time constant).
        Throws:
        StandardException - Thrown on error
      • generateConstant

        void generateConstant​(ExpressionClassBuilder acb,
                              MethodBuilder mb)
                       throws StandardException
        This generates the proper constant. For an XML value, this constant value is simply the XML string (which is just null because null values are the only types of XML constants we can have).
        Specified by:
        generateConstant in class ConstantNode
        Parameters:
        acb - The ExpressionClassBuilder for the class being built
        mb - The method the code to place the code
        Throws:
        StandardException - Thrown on error