public class LabelsAcrossContextNodes extends Object implements edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinder, edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifier, edu.cornell.mannlib.vitro.webapp.utils.configuration.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(org.apache.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(edu.cornell.mannlib.vitro.webapp.beans.Individual ind,
edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchInputDocument doc)
If this individual is acceptable, locate the labels of any context
partners across acceptable context nodes.
|
void |
setContextModels(edu.cornell.mannlib.vitro.webapp.modelaccess.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(edu.cornell.mannlib.vitro.webapp.modelaccess.ContextModelAccess models)
setContextModels in interface edu.cornell.mannlib.vitro.webapp.utils.configuration.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(edu.cornell.mannlib.vitro.webapp.beans.Individual ind,
edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchInputDocument doc)
modifyDocument in interface edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifierpublic void shutdown()
shutdown in interface edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.DocumentModifierpublic void startIndexing()
startIndexing in interface edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinderpublic List<String> findAdditionalURIsToIndex(org.apache.jena.rdf.model.Statement stmt)
findAdditionalURIsToIndex in interface edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinderpublic void endIndexing()
endIndexing in interface edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinderCopyright © 2022. All rights reserved.