Package com.hp.jena.rules.ast

Examples of com.hp.jena.rules.ast.Expr$NodeVar


        assertFalse( itemBlank.isExpr() );
        }
   
    @Test public void testExprAccessors()
        {
        Expr e = new Expr( "f", new ArrayList<Expr>() );
        Item item = Item.createExpr( e );
        assertSame( e, item.getExpr() );
        assertFalse( item.isURI() );
        assertFalse( item.isVariable() );
        assertFalse( item.isBlank() );
View Full Code Here


        Item.Visitor<Expr> iv = new Item.VisitorBoom<Expr>()
            {
            @Override public Expr visitExpr( Expr e )
                { return e; }
            };
        Expr expected = new Expr( "spoo:thingy", new ArrayList<Expr>() );
        assertSame( expected, Item.createExpr( expected ).visit( iv ) );
        }
View Full Code Here

TOP

Related Classes of com.hp.jena.rules.ast.Expr$NodeVar

Copyright © 2018 www.massapicom. 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.