Class DotCorpus
java.lang.Object
org.apache.uima.caseditor.core.model.dotcorpus.DotCorpus
This class contains all project specific configuration parameters. Note: Use DotCorpusSerialzer
to read or write an instance of this class to or from a byte stream.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default value for editor line length hint. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCasProcessorFolder(String folder) Deprecated.voidaddCorpusFolder(String name) Deprecated.booleanChecks if the given object is equal to the current instance.getAnnotation(Type type) Retrieves the AnnotationStyle for the given type or null if not available.Retrieves the annotation styles.Deprecated.Deprecated.intDeprecated.setting was moved to preference storeGets the shown types.Deprecated.inthashCode()Always returns hash code 0.voidremoveCasProcessorFolder(String folder) Deprecated.voidremoveCorpusFolder(String name) Deprecated.voidremoveShownType(String type) Removes the shown type.voidremoveStyle(String name) Removes an AnnotationStyle for the given name, does nothing if not existent.voidsetEditorLineLength(int lineLengthHint) Deprecated.setting was moved to preference storevoidsetShownType(String type) Sets the shown type.voidsetStyle(AnnotationStyle style) Adds an AnnotationStyle.voidsetTypeSystemFilename(String name) Deprecated.
-
Field Details
-
EDITOR_LINE_LENGTH_HINT_DEFAULT
public static final int EDITOR_LINE_LENGTH_HINT_DEFAULTThe default value for editor line length hint.- See Also:
-
-
Constructor Details
-
DotCorpus
public DotCorpus()
-
-
Method Details
-
getTypeSystemFileName
Deprecated.Retrieves type system name parameter.- Returns:
- type system name parameter
-
setTypeSystemFilename
Deprecated.Sets type system name parameter.- Parameters:
name- type system name parameter
-
getCasProcessorFolderNames
Deprecated.Retrieves the uima config folder name parameter.- Returns:
- uima config folder name parameter.
-
addCasProcessorFolder
Deprecated.Sets the uima config folder name parameter.- Parameters:
folder- uima config folder name parameter.
-
removeCasProcessorFolder
Deprecated.Removes the cas processor folder.- Parameters:
folder- the folder
-
addCorpusFolder
Deprecated.Adds a corpus folder.- Parameters:
name- the name
-
removeCorpusFolder
Deprecated.Removes the given corpus folder.- Parameters:
name- the name
-
getCorpusFolderNameList
Deprecated.Retrieves the list of all corpus folders.- Returns:
- corpus folder list
-
getEditorLineLengthHint
Deprecated.setting was moved to preference storeRetrieves the editor line length hint parameter.- Returns:
- line length hint
-
setEditorLineLength
Deprecated.setting was moved to preference storeSets the editor line length hint parameter.- Parameters:
lineLengthHint- the new editor line length
-
getAnnotationStyles
Retrieves the annotation styles.- Returns:
- - the annotation styles
-
getShownTypes
-
setShownType
-
removeShownType
-
setStyle
Adds an AnnotationStyle. TODO: move style stuff to nlp project- Parameters:
style- the new style
-
removeStyle
Removes an AnnotationStyle for the given name, does nothing if not existent.- Parameters:
name- the name
-
getAnnotation
Retrieves the AnnotationStyle for the given type or null if not available.- Parameters:
type- the type- Returns:
- the requested style or null if none
-
hashCode
-
equals
-