public class IndexSchemaFactory extends Object
| Constructor and Description |
|---|
IndexSchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSchema(org.dom4j.Document fields) |
org.springframework.core.io.Resource |
getSchemaTemplate() |
String |
getTextFieldType() |
void |
init() |
void |
setSchemaTemplate(org.springframework.core.io.Resource schemaTemplate) |
void |
setTextFieldType(String textFieldType) |
public void init()
throws TransformerConfigurationException,
TransformerFactoryConfigurationError,
org.dom4j.DocumentException,
IOException
TransformerConfigurationExceptionTransformerFactoryConfigurationErrororg.dom4j.DocumentExceptionIOExceptionpublic String getSchema(org.dom4j.Document fields) throws eu.dnetlib.data.provision.index.rmi.IndexServiceException
fields - input documenteu.dnetlib.data.provision.index.rmi.IndexServiceExceptionpublic void setSchemaTemplate(org.springframework.core.io.Resource schemaTemplate)
public org.springframework.core.io.Resource getSchemaTemplate()
public void setTextFieldType(String textFieldType)
public String getTextFieldType()
Copyright © 2021. All rights reserved.