Examples of RdfViewable


Examples of org.apache.stanbol.commons.web.viewable.RdfViewable

    @GET
    @Path("permissions")
    @Produces(MediaType.TEXT_HTML)
    public RdfViewable listPermissions() {
        addClassToPermissions(); // workaround
        return new RdfViewable("listPermission", getPermissionType(), this.getClass());
    }
View Full Code Here

Examples of org.apache.stanbol.commons.web.viewable.RdfViewable

            node.addProperty(Ontology.describes, iri);
            addResourceDescription(iri, responseGraph);
            logRequest(iri, userAgent);
        }
        //What we return is the GraphNode we created with a template path
        return new RdfViewable("ResourceResolver", node, ResourceResolver.class);
    }
View Full Code Here

Examples of org.apache.stanbol.commons.web.viewable.RdfViewable

        //The triples will be added to the first graph of the union
        //i.e. to the in-memory responseGraph
        node.addProperty(RDF.type, Ontology.MultiEnhancer);
        node.addProperty(RDFS.comment, new PlainLiteralImpl("A Multi Enhancer service"));
        //What we return is the GraphNode we created with a template path
        return new RdfViewable("MultiEnhancer", node, MultiEnhancer.class);
    }
View Full Code Here

Examples of org.apache.stanbol.commons.web.viewable.RdfViewable

        //this is the IRI assigned to the subitted content
        final UriRef contentIri = contentItem.getUri();
        //this represent the submitted Content within the resultGraph
        final GraphNode node = new GraphNode(contentIri, resultGraph);
        //node is the "root" for rendering the results
        return new RdfViewable("Enhancements", node, MultiEnhancer.class);
    }
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.