@CreoleResource(name="GATE .cochrane.txt document format",
comment="Load this to allow the opening of Cochrane text documents, and choose the mime type \"text/x-cochrane\", or use the correct file extension.",
autoinstances=,
isPrivate=true)
public class CochraneTextDocumentFormat
extends gate.corpora.TextualDocumentFormat
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
CochraneTextDocumentFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
gate.Resource |
init() |
Boolean |
supportsRepositioning() |
void |
unpackMarkup(gate.Document doc) |
annotateParagraphs, getDataStore, hasContentButNoValidUrl, setNewLineProperty, unpackMarkupaddStatusListener, areEqual, decideBetweenThreeMimeTypes, decideBetweenTwoMimeTypes, fireStatusChanged, getDocumentFormat, getDocumentFormat, getDocumentFormat, getDocumentFormat, getElement2StringMap, getFeatures, getMarkupElementsMap, getMimeType, getMimeTypeForString, getShouldCollectRepositioning, getSupportedFileSuffixes, getSupportedMimeTypes, guessTypeUsingMagicNumbers, removeStatusListener, runMagicNumbers, setElement2StringMap, setFeatures, setMarkupElementsMap, setMimeType, setShouldCollectRepositioning, unpackMarkupgetLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, synccheckParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, syncpublic Boolean supportsRepositioning()
supportsRepositioning in class gate.DocumentFormatpublic gate.Resource init()
throws gate.creole.ResourceInstantiationException
init in interface gate.Resourceinit in class gate.corpora.TextualDocumentFormatgate.creole.ResourceInstantiationExceptionpublic void cleanup()
cleanup in interface gate.Resourcecleanup in class gate.creole.AbstractLanguageResourcepublic void unpackMarkup(gate.Document doc)
throws gate.util.DocumentFormatException
unpackMarkup in class gate.corpora.TextualDocumentFormatgate.util.DocumentFormatException