public class XMLDocumentFactory extends AbstractSimpleTikaDocumentFactory
This factory has no metadata.
PropertyBasedDocumentFactory.MetadataKeysDocumentFactory.FieldTypedefaultMetadata| Constructor and Description |
|---|
XMLDocumentFactory() |
XMLDocumentFactory(Properties properties) |
XMLDocumentFactory(Reference2ObjectMap<Enum<?>,Object> defaultMetadata) |
XMLDocumentFactory(String[] property) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tika.parser.Parser |
getParser()
The parser to be used to parse this kind of documents; subclasses should return always the same instance, as Tika parsers are immutable and thread-safe.
|
copy, fields, getDocument, metadataFields, parsePropertyfieldIndex, fieldName, fieldType, numberOfFieldsensureJustOne, getInstance, getInstance, getInstance, getInstance, parseProperties, parseProperties, resolve, resolve, resolveNotNull, sameKeyensureFieldIndex, toStringpublic XMLDocumentFactory()
public XMLDocumentFactory(Reference2ObjectMap<Enum<?>,Object> defaultMetadata)
public XMLDocumentFactory(Properties properties) throws ConfigurationException
ConfigurationExceptionpublic XMLDocumentFactory(String[] property) throws ConfigurationException
ConfigurationExceptionprotected org.apache.tika.parser.Parser getParser()
AbstractSimpleTikaDocumentFactorygetParser in class AbstractSimpleTikaDocumentFactory