Examples of JenaUUID


Examples of com.hp.hpl.jena.shared.uuid.JenaUUID

    }

    @Override
    public NodeValue eval(FunctionEnv env)
    {
        JenaUUID uuid = factory.generate() ;
        // uuid.asUUID()
        Node n = Node.createURI(uuid.asURI()) ;
        return NodeValue.makeNode(n) ;
    }
View Full Code Here

Examples of com.hp.hpl.jena.shared.uuid.JenaUUID

        for ( int i = 0 ; i < number ; i++ )
        {
            if ( resetEachTime && i != 0)
                JenaUUID.reset() ;
            JenaUUID uuid = JenaUUID.generate() ;
            String str = null ;
            if ( asURN )
                str = uuid.asURN() ;
            else if ( asURI )
                str = uuid.asURI() ;
            else if ( asPlain )
                str = uuid.asString() ;
            if ( str == null )
                str = uuid.asString() ;
            System.out.println(str) ;
        }
    }
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.