public class FilterCommonRootSolrField extends SolrField
Based on CommonRootSolrField by sroseboo
combineNodes, converter, dedupe, defaultValue, disallowedValues, multivalue, name, splitOnString, substringAfter, substringBefore, valueSeparator, xpath, xPathExpression| Constructor and Description |
|---|
FilterCommonRootSolrField(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<SolrElementField> |
getFields(Document doc,
String identifier)
Prepare a Solr fields by extracting information from an input XML document, using the document processor configured
by Spring context files
|
FilterRootElement |
getRoot()
Get the root element that will be processed
|
void |
initExpression(XPath xpathObject)
Inialize the XPath expression that will be used to location XML nodes to process
|
void |
setRoot(FilterRootElement root)
Set the root element that will be processed
|
allowedValue, getCombineDelimiter, getConverter, getDefaultValue, getDisallwedValues, getName, getSplitOnString, getValueSeparator, getXpath, getxPathExpression, isCombineNodes, isMultivalue, isSubstringAfter, isSubstringBefore, processField, processNodeValue, setCombineDelimiter, setCombineNodes, setConverter, setDedupe, setDefaultValue, setDisallowedValues, setMultivalue, setName, setSplitOnString, setSubstringAfter, setSubstringBefore, setValueSeparator, setXpath, setxPathExpressionpublic FilterCommonRootSolrField(String name)
public List<SolrElementField> getFields(Document doc, String identifier) throws Exception
getFields in interface ISolrFieldgetFields in class SolrFielddoc - the document to processidentifier - a specific identifier to processExceptionpublic void initExpression(XPath xpathObject)
initExpression in interface ISolrFieldinitExpression in class SolrFieldxpathObject - the XPath to initializepublic FilterRootElement getRoot()
public void setRoot(FilterRootElement root)
root - the root element that will be processedCopyright © 2022. All rights reserved.