@CreoleResource(name="GATE SGML Document Format", isPrivate=true, autoinstances=) public class SgmlDocumentFormat extends TextualDocumentFormat
element2StringMap, magic2mimeTypeMap, markupElementsMap, mimeString2ClassHandlerMap, mimeString2mimeTypeMap, suffixes2mimeTypeMap
dataStore, lrPersistentId
name
Constructor and Description |
---|
SgmlDocumentFormat()
Default construction
|
Modifier and Type | Method and Description |
---|---|
Resource |
init()
Initialise this resource, and return it.
|
void |
unpackMarkup(Document doc)
Unpack the markup in the document.
|
annotateParagraphs, getDataStore, hasContentButNoValidUrl, setNewLineProperty, unpackMarkup
addStatusListener, areEqual, decideBetweenThreeMimeTypes, decideBetweenTwoMimeTypes, fireStatusChanged, getDocumentFormat, getDocumentFormat, getDocumentFormat, getDocumentFormat, getElement2StringMap, getFeatures, getMarkupElementsMap, getMimeType, getMimeTypeForString, getShouldCollectRepositioning, getSupportedFileSuffixes, getSupportedMimeTypes, guessTypeUsingMagicNumbers, removeStatusListener, runMagicNumbers, setElement2StringMap, setFeatures, setMarkupElementsMap, setMimeType, setShouldCollectRepositioning, supportsRepositioning, unpackMarkup, willReadFromUrl
cleanup, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
checkParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameterValue, setParameterValue, setParameterValues
getName, setName
public void unpackMarkup(Document doc) throws DocumentFormatException
unpackMarkup
in class TextualDocumentFormat
doc
- The gate document you want to parse.DocumentFormatException
public Resource init() throws ResourceInstantiationException
init
in interface Resource
init
in class TextualDocumentFormat
ResourceInstantiationException
Copyright © 2024 GATE. All rights reserved.