@CreoleResource(name="UIMA Document Format", isPrivate=true, autoinstances=) public class UimaDocumentFormat extends XmlDocumentFormat
element2StringMap, magic2mimeTypeMap, markupElementsMap, mimeString2ClassHandlerMap, mimeString2mimeTypeMap, suffixes2mimeTypeMapdataStore, lrPersistentIdname| Constructor and Description |
|---|
UimaDocumentFormat() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
init()
Initialise this resource, and return it.
|
void |
unpackMarkup(Document doc,
RepositioningInfo repInfo,
RepositioningInfo ampCodingInfo)
Unpack the markup in the document.
|
isGateXmlFormat, supportsRepositioning, unpackMarkupannotateParagraphs, getDataStore, hasContentButNoValidUrl, setNewLinePropertyaddStatusListener, areEqual, decideBetweenThreeMimeTypes, decideBetweenTwoMimeTypes, fireStatusChanged, getDocumentFormat, getDocumentFormat, getDocumentFormat, getDocumentFormat, getElement2StringMap, getFeatures, getMarkupElementsMap, getMimeType, getMimeTypeForString, getShouldCollectRepositioning, getSupportedFileSuffixes, getSupportedMimeTypes, guessTypeUsingMagicNumbers, removeStatusListener, runMagicNumbers, setElement2StringMap, setFeatures, setMarkupElementsMap, setMimeType, setShouldCollectRepositioning, unpackMarkup, willReadFromUrlcleanup, getLRPersistenceId, 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, waitgetParameterValue, setParameterValue, setParameterValuesgetName, setNamepublic void unpackMarkup(Document doc, RepositioningInfo repInfo, RepositioningInfo ampCodingInfo) throws DocumentFormatException
XmlDocumentFormatunpackMarkup in class XmlDocumentFormatdoc - The gate document you want to parse. If
doc.getSourceUrl() returns null
then the content of doc will be parsed. Using a URL is
recomended because the parser will report errors corectlly
if the XML document is not well formed.DocumentFormatExceptionpublic Resource init() throws ResourceInstantiationException
XmlDocumentFormatinit in interface Resourceinit in class XmlDocumentFormatResourceInstantiationExceptionCopyright © 2024 GATE. All rights reserved.