public class LabelsAcrossContextNodes extends Object implements IndexingUriFinder, DocumentModifier, ContextModelsUser
Configuration:
rdfs:label -- Optional. Appears in the timings and debug statements.
:hasIncomingProperty -- Required. Property leading to the context node.
:hasOutgoingProperty -- Required. Property leading from the context node.
:hasTypeRestriction -- Optional. Match any. If none, then no restriction.
:appliesToContextNodeType -- Optional. Match any. If none, then no restriction.
| Constructor and Description |
|---|
LabelsAcrossContextNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContextNodeClass(String cnc) |
void |
addTypeRestriction(String typeUri) |
void |
endIndexing() |
List<String> |
findAdditionalURIsToIndex(com.hp.hpl.jena.rdf.model.Statement stmt)
If this is a "label" statement, check to see if the subject has any
acceptable partners across acceptable context nodes.
|
void |
modifyDocument(Individual ind,
SearchInputDocument doc)
If this individual is acceptable, locate the labels of any context
partners across acceptable context nodes.
|
void |
setContextModels(ContextModelAccess models) |
void |
setIncomingProperty(String incomingUri) |
void |
setLabel(String l) |
void |
setOutgoingProperty(String outgoingUri) |
void |
shutdown() |
void |
startIndexing() |
String |
toString() |
void |
validate() |
public void setContextModels(ContextModelAccess models)
setContextModels in interface ContextModelsUserpublic void setLabel(String l)
public void setIncomingProperty(String incomingUri)
public void setOutgoingProperty(String outgoingUri)
public void addTypeRestriction(String typeUri)
public void addContextNodeClass(String cnc)
public void validate()
public void modifyDocument(Individual ind, SearchInputDocument doc)
modifyDocument in interface DocumentModifierpublic void shutdown()
shutdown in interface DocumentModifierpublic void startIndexing()
startIndexing in interface IndexingUriFinderpublic List<String> findAdditionalURIsToIndex(com.hp.hpl.jena.rdf.model.Statement stmt)
findAdditionalURIsToIndex in interface IndexingUriFinderpublic void endIndexing()
endIndexing in interface IndexingUriFinderCopyright © 2016. All rights reserved.