|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.infoset.fulltext.core.GenericField
public class GenericField
INTERNAL: A generic document field.
Field Summary | |
---|---|
protected boolean |
index
|
protected java.lang.String |
name
|
protected java.io.Reader |
reader
|
protected boolean |
store
|
protected boolean |
tokenize
|
protected java.lang.String |
value
|
Constructor Summary | |
---|---|
GenericField(java.lang.String name,
java.io.Reader value,
boolean store,
boolean index,
boolean tokenize)
|
|
GenericField(java.lang.String name,
java.lang.String value,
boolean store,
boolean index,
boolean tokenize)
|
Method Summary | |
---|---|
static FieldIF |
createKeywordField(java.lang.String name,
java.lang.String value)
|
static FieldIF |
createTextField(java.lang.String name,
java.lang.String value)
|
static FieldIF |
createUnstoredField(java.lang.String name,
java.io.Reader reader)
|
static FieldIF |
createUnstoredField(java.lang.String name,
java.lang.String value)
|
java.lang.String |
getName()
INTERNAL: Returns the name of the field. |
java.io.Reader |
getReader()
INTERNAL: Returns the Reader value of the field. |
java.lang.String |
getValue()
INTERNAL: Returns the String value of the field. |
boolean |
isIndexed()
INTERNAL: Returns true if the field is to be indexed, so that it may be searched on. |
boolean |
isStored()
INTERNAL: Returns true if the field is to be stored in the index for return with search hits. |
boolean |
isTokenized()
INTERNAL: Returns true if the field is to be tokenized prior to indexing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String value
protected java.io.Reader reader
protected boolean store
protected boolean index
protected boolean tokenize
Constructor Detail |
---|
public GenericField(java.lang.String name, java.lang.String value, boolean store, boolean index, boolean tokenize)
public GenericField(java.lang.String name, java.io.Reader value, boolean store, boolean index, boolean tokenize)
Method Detail |
---|
public static FieldIF createUnstoredField(java.lang.String name, java.lang.String value)
public static FieldIF createUnstoredField(java.lang.String name, java.io.Reader reader)
public static FieldIF createKeywordField(java.lang.String name, java.lang.String value)
public static FieldIF createTextField(java.lang.String name, java.lang.String value)
public java.lang.String getName()
FieldIF
getName
in interface FieldIF
public java.lang.String getValue()
FieldIF
getValue
in interface FieldIF
public java.io.Reader getReader()
FieldIF
getReader
in interface FieldIF
public boolean isStored()
FieldIF
isStored
in interface FieldIF
public boolean isIndexed()
FieldIF
isIndexed
in interface FieldIF
public boolean isTokenized()
FieldIF
isTokenized
in interface FieldIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |