|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.writer.xml.XMLIndexerFieldsConfig
public class XMLIndexerFieldsConfig
Holds a configuration for XML fields indexed by XMLIndexer and used in PerFieldAnalyzer.
XMLIndexer
Constructor Summary | |
---|---|
XMLIndexerFieldsConfig(URL configIndexUrl)
|
Method Summary | |
---|---|
boolean |
formatIsConfigured(String xmlFormatOrSchema)
Determine if the given xmlFormat or schema has a configuration. |
Map |
getFieldAnalyzers()
Gets a Map of field/analyzer pairs where keys are field or schema names and values are the corresponding Analyzer class names as Strings for the custom fields that are defined in this configuration. |
Document |
getFormatConfig(String xmlFormatOrSchema)
Gets the configuration Document for a given xmlFormat or schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLIndexerFieldsConfig(URL configIndexUrl) throws Exception
configIndexUrl
- URL to the config index file.
Exception
- If errorMethod Detail |
---|
public Map getFieldAnalyzers()
public Document getFormatConfig(String xmlFormatOrSchema)
xmlFormatOrSchema
- An xmlFormat key or schema location for the format
public boolean formatIsConfigured(String xmlFormatOrSchema)
xmlFormatOrSchema
- An xmlFormat key or schema location for the format
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |