Textractor API textractor-716 (20091105163204)

textractor.mg4j.document
Class TextractorFieldInfo

java.lang.Object
  extended by textractor.mg4j.document.TextractorFieldInfo
All Implemented Interfaces:
Serializable

public final class TextractorFieldInfo
extends Object
implements Serializable

Holds information about the fields supported by this factory.

See Also:
Serialized Form

Field Summary
protected  String name
          The name of the field.
protected  Properties properties
          Additional properties for this field.
protected  DocumentFactory.FieldType type
          The type of the field.
protected  TextractorWordReader wordReader
          The word reader used for the field.
 
Constructor Summary
TextractorFieldInfo(String fieldName)
          Construct a new FieldInfo object for this factory.
TextractorFieldInfo(String fieldNameVal, DocumentFactory.FieldType typeVal, TextractorWordReader wordReaderVal)
          Create a new one, fully populated.
 
Method Summary
 String getName()
           
 Properties getProperties()
           
 DocumentFactory.FieldType getType()
           
 TextractorWordReader getWordReader()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name
The name of the field.


type

protected DocumentFactory.FieldType type
The type of the field.


wordReader

protected TextractorWordReader wordReader
The word reader used for the field.


properties

protected final Properties properties
Additional properties for this field.

Constructor Detail

TextractorFieldInfo

public TextractorFieldInfo(String fieldName)
Construct a new FieldInfo object for this factory.

Parameters:
fieldName - name of the field

TextractorFieldInfo

public TextractorFieldInfo(String fieldNameVal,
                           DocumentFactory.FieldType typeVal,
                           TextractorWordReader wordReaderVal)
Create a new one, fully populated.

Parameters:
fieldNameVal - the field name
typeVal - the tpe
wordReaderVal - the wordReader
Method Detail

getWordReader

public TextractorWordReader getWordReader()

getType

public DocumentFactory.FieldType getType()

getName

public String getName()

getProperties

public Properties getProperties()

toString

public String toString()
Overrides:
toString in class Object

Textractor API textractor-716 (20091105163204)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.