|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fuberlin.wiwiss.wiqa.explanation.html.ExplanationToHTMLRenderer
Service that returns HTML representations for an entire
Explanation or some of its parts.
| Constructor Summary | |
ExplanationToHTMLRenderer(Explanation expl,
de.fuberlin.wiwiss.ng4j.NamedGraphSet repository)
Sets up a new renderer. |
|
| Method Summary | |
String |
getDetailsAsHTML()
|
String |
getExplanationAsHTML()
|
String |
getExplanationPartsAsHTML()
|
String |
getObjectAsHTML()
|
String |
getPolicyAsHTML()
|
String |
getPredicateAsHTML()
|
String |
getSubjectAsHTML()
|
static String |
renderExplanationPart(ExplanationPart part,
de.fuberlin.wiwiss.ng4j.NamedGraphSet repository)
Convenience method for rendering a single explanation part. |
void |
setPrefixes(PrefixMapping prefixes)
Sets a prefix map that will be used to render URIs as QNames. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExplanationToHTMLRenderer(Explanation expl,
de.fuberlin.wiwiss.ng4j.NamedGraphSet repository)
expl - The explanation to be renderedrepository - The unfiltered repository,
used to retrieve labels for resources| Method Detail |
public static String renderExplanationPart(ExplanationPart part,
de.fuberlin.wiwiss.ng4j.NamedGraphSet repository)
part - An explanation partrepository - The unfiltered repository, used to retrieve labels
for resources
public void setPrefixes(PrefixMapping prefixes)
prefixes - A prefix mappublic String getSubjectAsHTML()
public String getPredicateAsHTML()
public String getObjectAsHTML()
public String getPolicyAsHTML()
public String getExplanationPartsAsHTML()
public String getDetailsAsHTML()
public String getExplanationAsHTML()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||