|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.util.AbstractFeatureBearer
gate.creole.AbstractResource
gate.creole.AbstractLanguageResource
gate.corpora.DocumentImpl
org.xces.gate.XCESDocument
public class XCESDocument
Field Summary | |
---|---|
static java.lang.String |
FACTORY_PROPERTY
|
static java.lang.String |
LOAD_STANDOFF_PARAMETER_NAME
|
static java.lang.String |
STANDOFF_ANNOTATIONS_PARAMETER_NAME
|
static java.lang.String |
STANDOFF_LOADED_PARAMETER_NAME
|
static java.lang.String |
STANDOFF_MARKUP_SET_NAME
|
Fields inherited from class gate.corpora.DocumentImpl |
---|
content, defaultAnnots, encoding, markupAware, namedAnnotSets, nextAnnotationId, nextNodeId, sourceUrl, sourceUrlEndOffset, sourceUrlStartOffset |
Fields inherited from class gate.creole.AbstractLanguageResource |
---|
dataStore, lrPersistentId |
Fields inherited from class gate.creole.AbstractResource |
---|
name |
Fields inherited from class gate.util.AbstractFeatureBearer |
---|
features |
Fields inherited from interface gate.Document |
---|
DOCUMENT_ENCODING_PARAMETER_NAME, DOCUMENT_END_OFFSET_PARAMETER_NAME, DOCUMENT_MARKUP_AWARE_PARAMETER_NAME, DOCUMENT_PRESERVE_CONTENT_PARAMETER_NAME, DOCUMENT_REPOSITIONING_PARAMETER_NAME, DOCUMENT_START_OFFSET_PARAMETER_NAME, DOCUMENT_STRING_CONTENT_PARAMETER_NAME |
Fields inherited from interface gate.SimpleDocument |
---|
DOCUMENT_URL_PARAMETER_NAME |
Constructor Summary | |
---|---|
XCESDocument()
|
Method Summary | |
---|---|
protected java.util.Hashtable |
getAnnotationFiles(gate.AnnotationSet set)
|
protected java.util.Hashtable |
getAnnotationFiles(java.net.URL url)
|
protected java.lang.String |
getContent(java.lang.String path)
|
protected java.lang.String |
getFileForType(java.lang.String type)
|
java.lang.Boolean |
getLoadStandoff()
|
java.util.List |
getStandoffAnnotations()
|
java.lang.String |
getStandoffASName()
|
boolean |
getStandoffLoaded()
|
gate.Resource |
init()
|
void |
oldLoadStandoff()
|
void |
oldOldLoadStandoff(java.net.URL sourceUrl)
|
void |
setLoadStandoff(java.lang.Boolean save)
|
void |
setStandoffAnnotations(java.util.List list)
|
void |
setStandoffASName(java.lang.String name)
|
void |
setStandoffLoaded(boolean loaded)
|
Methods inherited from class gate.corpora.DocumentImpl |
---|
addDocumentListener, cleanup, compareTo, datastoreClosed, datastoreCreated, datastoreOpened, edit, fireAnnotationSetAdded, fireAnnotationSetRemoved, fireContentEdited, getAnnotations, getAnnotations, getAnnotationSetNames, getCollectRepositioningInfo, getContent, getEncoding, getFeatures, getMarkupAware, getNamedAnnotationSets, getNextAnnotationId, getNextNodeId, getOrderingString, getPreserveOriginalContent, getSourceUrl, getSourceUrlEndOffset, getSourceUrlOffsets, getSourceUrlStartOffset, getStringContent, isValidOffset, isValidOffsetRange, isXmlChar, removeAnnotationSet, removeDocumentListener, resourceAdopted, resourceDeleted, resourceLoaded, resourceRenamed, resourceUnloaded, resourceWritten, setCollectRepositioningInfo, setContent, setDataStore, setDefaultAnnotations, setEncoding, setLRPersistenceId, setMarkupAware, setNextAnnotationId, setPreserveOriginalContent, setSourceUrl, setSourceUrlEndOffset, setSourceUrlStartOffset, setStringContent, toString, toXml, toXml, toXml |
Methods inherited from class gate.creole.AbstractLanguageResource |
---|
getDataStore, getLRPersistenceId, getParent, isModified, setParent, sync |
Methods inherited from class gate.creole.AbstractResource |
---|
checkParameterValues, getBeanInfo, getName, getParameterValue, getParameterValue, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners |
Methods inherited from class gate.util.AbstractFeatureBearer |
---|
setFeatures |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gate.LanguageResource |
---|
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync |
Methods inherited from interface gate.Resource |
---|
cleanup, getParameterValue, setParameterValue, setParameterValues |
Methods inherited from interface gate.util.FeatureBearer |
---|
getFeatures, setFeatures |
Methods inherited from interface gate.util.NameBearer |
---|
getName, setName |
Field Detail |
---|
public static final java.lang.String LOAD_STANDOFF_PARAMETER_NAME
public static final java.lang.String STANDOFF_MARKUP_SET_NAME
public static final java.lang.String STANDOFF_ANNOTATIONS_PARAMETER_NAME
public static final java.lang.String STANDOFF_LOADED_PARAMETER_NAME
public static final java.lang.String FACTORY_PROPERTY
Constructor Detail |
---|
public XCESDocument()
Method Detail |
---|
public void setLoadStandoff(java.lang.Boolean save)
public java.lang.Boolean getLoadStandoff()
public void setStandoffLoaded(boolean loaded)
public boolean getStandoffLoaded()
public void setStandoffASName(java.lang.String name)
public java.lang.String getStandoffASName()
public void setStandoffAnnotations(java.util.List list)
public java.util.List getStandoffAnnotations()
public gate.Resource init() throws gate.creole.ResourceInstantiationException
init
in interface gate.Resource
init
in class gate.corpora.DocumentImpl
gate.creole.ResourceInstantiationException
protected java.lang.String getFileForType(java.lang.String type) throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationException
protected java.lang.String getContent(java.lang.String path) throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationException
protected java.util.Hashtable getAnnotationFiles(gate.AnnotationSet set) throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationException
protected java.util.Hashtable getAnnotationFiles(java.net.URL url) throws gate.util.DocumentFormatException
gate.util.DocumentFormatException
public void oldLoadStandoff() throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationException
public void oldOldLoadStandoff(java.net.URL sourceUrl) throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |