uk.ac.gla.dcs.renaissance.ir
Class DefaultDocumentFactory
java.lang.Object
it.unimi.dsi.mg4j.document.AbstractDocumentFactory
it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory
uk.ac.gla.dcs.renaissance.ir.DefaultDocumentFactory
- All Implemented Interfaces:
- it.unimi.dsi.lang.FlyweightPrototype<it.unimi.dsi.mg4j.document.DocumentFactory>, it.unimi.dsi.mg4j.document.DocumentFactory, Serializable
- Direct Known Subclasses:
- XMLPOSDocumentFactory
public abstract class DefaultDocumentFactory
- extends it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory |
it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory.MetadataKeys |
Nested classes/interfaces inherited from interface it.unimi.dsi.mg4j.document.DocumentFactory |
it.unimi.dsi.mg4j.document.DocumentFactory.FieldType |
Fields inherited from class it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory |
defaultMetadata |
Methods inherited from class it.unimi.dsi.mg4j.document.PropertyBasedDocumentFactory |
ensureJustOne, getInstance, getInstance, getInstance, getInstance, parseProperties, parseProperties, parseProperty, resolve, resolve, resolveNotNull, sameKey |
Methods inherited from class it.unimi.dsi.mg4j.document.AbstractDocumentFactory |
ensureFieldIndex, toString |
Methods inherited from interface it.unimi.dsi.mg4j.document.DocumentFactory |
copy, getDocument |
DefaultDocumentFactory
public DefaultDocumentFactory()
DefaultDocumentFactory
public DefaultDocumentFactory(it.unimi.dsi.util.Properties properties)
throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
DefaultDocumentFactory
public DefaultDocumentFactory(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Enum<?>,Object> defaultMetadata)
DefaultDocumentFactory
public DefaultDocumentFactory(String[] property)
throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
getFields
public abstract DefaultDocumentFactory.Field[] getFields()
fieldIndex
public int fieldIndex(String fieldName)
fieldName
public String fieldName(int field)
fieldType
public it.unimi.dsi.mg4j.document.DocumentFactory.FieldType fieldType(int field)
numberOfFields
public int numberOfFields()
Copyright © 2011. All Rights Reserved.