Examples of ETCLComponentName


Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

     */
    public EvaluationResult extractFromMessage(EvaluationResult evaluationResult,
            ComponentName componentName, RuntimeVariable runtimeVariable)
            throws EvaluationException
    {
        ETCLComponentName _componentName = (ETCLComponentName) componentName;

        if (_componentName.right() != null)
        {
            return extractFromAny(_componentName.right(), evaluationResult.getAny(),
                    runtimeVariable.toString());
        }

        return evaluationResult;
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

     * fetch the values denoted by the provided ComponentName out of the Message.
     */
    public EvaluationResult extractFromMessage(AbstractMessage message,
            ComponentName componentName) throws EvaluationException
    {
        ETCLComponentName _componentName = (ETCLComponentName) componentName;

        return extractFromAny(_componentName.left(), message.toAny(), _componentName.toString());
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

     */
    public EvaluationResult extractFromMessage(EvaluationResult evaluationResult,
            ComponentName componentName, RuntimeVariable runtimeVariable)
            throws EvaluationException
    {
        ETCLComponentName _componentName = (ETCLComponentName) componentName;

        if (_componentName.right() != null)
        {
            return extractFromAny(_componentName.right(), evaluationResult.getAny(),
                    runtimeVariable.toString());
        }

        return evaluationResult;
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

     * fetch the values denoted by the provided ComponentName out of the Message.
     */
    public EvaluationResult extractFromMessage(AbstractMessage message,
            ComponentName componentName) throws EvaluationException
    {
        ETCLComponentName _componentName = (ETCLComponentName) componentName;

        return extractFromAny(_componentName.left(), message.toAny(), _componentName.toString());
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

        runEvaluation(_a, "$name2 == $(name2)");
    }

    public void testInsertComponentName() throws Exception
    {
        ETCLComponentName _comp = (ETCLComponentName) TCLParser.parse("$.first_name.last_name");

        _comp.acceptInOrder(new TCLCleanUp());
        assertEquals("$.first_name.last_name", _comp.getComponentName());

        AbstractTCLNode _root = TCLParser.parse("$.first_name.value + 5");

        _root.acceptInOrder(new TCLCleanUp());
        _comp = (ETCLComponentName) _root.getFirstChild();
        assertEquals("$.first_name.value", _comp.getComponentName());

        _comp = (ETCLComponentName) TCLParser.parse("$domain_name");
        _comp.acceptInOrder(new TCLCleanUp());
        assertEquals("$domain_name", _comp.getComponentName());

        _comp = (ETCLComponentName) TCLParser.parse("$domain_name._type_id");
        _comp.acceptInOrder(new TCLCleanUp());
        assertEquals("$domain_name._type_id", _comp.getComponentName());

        _comp = (ETCLComponentName) TCLParser.parse("$.(1)");
        _comp.acceptInOrder(new TCLCleanUp());
        assertEquals("$.(1)", _comp.getComponentName());

        _comp = (ETCLComponentName) TCLParser.parse("$.()");
        _comp.acceptInOrder(new TCLCleanUp());
        assertEquals("$.(default)", _comp.getComponentName());
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

    {
        String _expr = "$.time <= 1";
        AbstractTCLNode _root = TCLParser.parse(_expr);
        _root.acceptPostOrder(new TCLCleanUp());

        ETCLComponentName _n = (ETCLComponentName) _root.left();

        assertEquals("$.time", _n.getComponentName());
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

    {
        for (int x = 0; x < visitorTestExpressions_.length; ++x)
        {
            AbstractTCLNode _root = TCLParser.parse(visitorTestExpressions_[x]);
            _root.acceptPostOrder(new TCLCleanUp());
            ETCLComponentName _n = (ETCLComponentName) _root.left();

            assertEquals(visitorTestExpressions_[x] + " failed", "$.value", _n.getComponentName());
        }
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

    {
        for (int x = 0; x < visitorTestExpressions_.length; ++x)
        {
            AbstractTCLNode _root = TCLParser.parse(visitorTestExpressions_[x]);
            _root.acceptInOrder(new TCLCleanUp());
            ETCLComponentName _n = (ETCLComponentName) _root.left();

            assertEquals(visitorTestExpressions_[x] + " failed", "$.value", _n.getComponentName());
        }
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

    {
        for (int x = 0; x < visitorTestExpressions_.length; ++x)
        {
            AbstractTCLNode _root = TCLParser.parse(visitorTestExpressions_[x]);
            _root.acceptPreOrder(new TCLCleanUp());
            ETCLComponentName _n = (ETCLComponentName) _root.left();

            assertEquals(visitorTestExpressions_[x] + " failed", "$.value", _n.getComponentName());
        }
    }
View Full Code Here

Examples of org.jacorb.notification.filter.etcl.ETCLComponentName

     * fetch the values denoted by the provided ComponentName out of the Message.
     */
    public EvaluationResult extractFromMessage(AbstractMessage message,
            ComponentName componentName) throws EvaluationException
    {
        ETCLComponentName _componentName = (ETCLComponentName) componentName;

        return extractFromAny(_componentName.left(), message.toAny(), _componentName.toString());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.