|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILabelsPlugin
A plugin for the Labels class, used to create customized labels from arbitrary Graph nodes. For example, this can be used to implement custom-tailored renderings for languages like SWRL.
| Method Summary | |
|---|---|
void |
appendLabel(java.lang.StringBuffer buffer,
com.hp.hpl.jena.rdf.model.RDFNode node,
boolean multiLine)
|
void |
appendNestedLabel(java.lang.StringBuffer buffer,
com.hp.hpl.jena.rdf.model.RDFNode node,
boolean multiLine)
|
boolean |
isKeyword(java.lang.String word)
Checks if a given string is a keyword (such as 'max') in this plugin. |
boolean |
isSuitable(com.hp.hpl.jena.rdf.model.RDFNode node)
Checks if this plugin is suitable to render a given node into text. |
| Method Detail |
|---|
void appendLabel(java.lang.StringBuffer buffer,
com.hp.hpl.jena.rdf.model.RDFNode node,
boolean multiLine)
void appendNestedLabel(java.lang.StringBuffer buffer,
com.hp.hpl.jena.rdf.model.RDFNode node,
boolean multiLine)
boolean isKeyword(java.lang.String word)
word - the word to check
boolean isSuitable(com.hp.hpl.jena.rdf.model.RDFNode node)
node - the node to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||