public class MockAnnotatedField extends Object implements AnnotatedField
Constructor and Description |
---|
MockAnnotatedField(String name,
List<Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
Annotations |
annotations()
Get the annotations for this field.
|
String |
description()
Get this field's display name
|
String |
displayName()
Get this field's display name
|
boolean |
hasContentStore()
Is this field's content stored in a content store?
|
boolean |
hasLengthTokens() |
boolean |
hasPunctuationForwardIndex() |
boolean |
hasTokenLengthDocValues()
Was the field that stores the length of this field in tokens
indexed with DocValues?
|
boolean |
hasXmlTags() |
String |
name()
Get this field's name
|
String |
offsetsField()
Get the Lucene field that contains character offsets (if any)
|
String |
tokenLengthField() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotation, contentsFieldName, isDummyFieldToStoreLinkedDocuments, mainAnnotation
contentIdField
public MockAnnotatedField(String name, List<Annotation> annotations)
public String displayName()
Field
displayName
in interface Field
public String description()
Field
description
in interface Field
public boolean hasContentStore()
Field
hasContentStore
in interface Field
public Annotations annotations()
AnnotatedField
annotations
in interface AnnotatedField
public boolean hasLengthTokens()
hasLengthTokens
in interface AnnotatedField
public boolean hasXmlTags()
hasXmlTags
in interface AnnotatedField
public boolean hasPunctuationForwardIndex()
hasPunctuationForwardIndex
in interface AnnotatedField
public String tokenLengthField()
tokenLengthField
in interface AnnotatedField
public String offsetsField()
Field
offsetsField
in interface Field
public boolean hasTokenLengthDocValues()
AnnotatedField
hasTokenLengthDocValues
in interface AnnotatedField
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.