semtags
Tag for-each-result


A convenient loop tag to directly iterate over the results of a SPARQL query. Variables appearing in the SELECT clause are created and updated in the JSP context for each iteration e.g. SELECT ?name ?age { ... } means ${name} and ${age} can be used directly in the body of the tag.


Tag Information
Tag Classfr.inria.semtags.query.ForEachResultTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
querytruetruejava.lang.StringSPARQL query.
varStatusfalsetruejava.lang.StringVariable that will contain the loop status (count, index, first, last) as in the JSTL (See javax.servlet.jsp.jstl.core.LoopTagStatus)
beginfalsetrueintThe starting index of the loop ; default is 0.
endfalsetrueintThe ending index of the loop.
stepfalsetrueintThe iteration step ; default is 1.
enginefalsetruefr.inria.semtags.EngineWrapperThe engine instance to query ; default is "defaultEngineWrapper".

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.