public class SDocumentImpl extends SNodeImpl implements SDocument
EXPECTED_NUMBER_OF_LABELS| Constructor and Description |
|---|
SDocumentImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
basic_setDocumentGraph(SDocumentGraph documentGraph)
This is an internally used method.
|
SDocumentGraph |
getDocumentGraph()
Returns the document structure which belongs to this document.
|
org.eclipse.emf.common.util.URI |
getDocumentGraphLocation()
Returns the location of the contained
SDocumentGraph object, in
case it is persisted. |
SCorpusGraph |
getGraph()
Returns the container graph of this node.
|
void |
loadDocumentGraph()
Loads a
SDocumentGraph object and sets it to the contained
SDocumentGraph object. |
void |
loadDocumentGraph(org.eclipse.emf.common.util.URI documentGraphLocation)
Loads a
SDocumentGraph object and sets it to the contained
SDocumentGraph object. |
void |
saveDocumentGraph(org.eclipse.emf.common.util.URI documentGraphLocation)
Persists the
SDocumentGraph object contained by this object as
SaltXML file at the location given by the passed URI object. |
void |
setDocumentGraph(SDocumentGraph documentGraph)
Sets the document structure which belongs to this document.
|
void |
setDocumentGraphLocation(org.eclipse.emf.common.util.URI location)
Sets the location as
URI, of where the contained
SDocumentGraph object is persisted. |
void |
setId(String id)
Creates a new
Identifier object and sets its value to the passed
id. |
void |
setIdentifier(Identifier identifier)
Sets the
Identifier label for this object. |
String |
toString() |
addAnnotation, addFeature, addMetaAnnotation, addProcessingAnnotation, createAnnotation, createAnnotations, createFeature, createFeatures, createMetaAnnotation, createMetaAnnotations, createProcessingAnnotation, createProcessingAnnotations, getAnnotation, getAnnotation, getAnnotations, getFeature, getFeature, getFeatures, getInRelations, getLayers, getMetaAnnotation, getMetaAnnotations, getName, getOutRelations, getPath, getProcessingAnnotation, getProcessingAnnotations, iterator_SAnnotation, iterator_SFeature, iterator_SMetaAnnotation, iterator_SProcessingAnnotation, removeLabel, setNameaddLayer, basicSetGraph, getDelegate, removeLayer, setGraphgetId, getIdentifieraddLabel, basicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInRelations, getLayers, getOutRelationsaddLayer, removeLayer, setGraphgetId, getIdentifieraddLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, removeLabel, sizeLabelsaddAnnotation, addFeature, addMetaAnnotation, addProcessingAnnotation, createAnnotation, createAnnotations, createFeature, createFeatures, createMetaAnnotation, createMetaAnnotations, createProcessingAnnotation, createProcessingAnnotations, getAnnotation, getAnnotation, getAnnotations, getFeature, getFeature, getFeatures, getMetaAnnotation, getMetaAnnotations, getProcessingAnnotation, getProcessingAnnotations, iterator_SAnnotation, iterator_SFeature, iterator_SMetaAnnotation, iterator_SProcessingAnnotationgetName, setNamegetPathpublic SDocumentGraph getDocumentGraph()
getDocumentGraph in interface SDocumentpublic void setDocumentGraph(SDocumentGraph documentGraph)
setDocumentGraph in interface SDocumentdocumentGraph - document structure which belongs to this documentpublic void basic_setDocumentGraph(SDocumentGraph documentGraph)
SDocument and SDocumentGraph object when a document is
set to avoid an endless invocation. The invocation of methods is
implement as follows:
#setSDocument(SDocument)SDocument#setDocumentGraph(Graph)|| \ / || || X || \/ / \ \/#basicSDocument(SDocument)SDocument#basicSetSDocumentGraph(Graph)
document - the container document of this document graphpublic void setId(String id)
Identifier object and sets its value to the passed
id. Creates a new Identifier and sets it to the
document graph. The identifier has the same id value as this document.setId in interface IdentifiableElementsetId in class IdentifiableElementImplpublic void setIdentifier(Identifier identifier)
Identifier label for this object. If this object alredy
had an identifier, the old one is removed and the new one is added. Creates a new Identifier and sets it to the
document graph. The identifier has the same id value as this document.setIdentifier in interface IdentifiableElementsetIdentifier in class IdentifiableElementImplpublic org.eclipse.emf.common.util.URI getDocumentGraphLocation()
SDocumentGraph object, in
case it is persisted. The location is stored via a SFeature
object having the namespace and the
name .getDocumentGraphLocation in interface SDocumentSDocumentGraph object as
URIpublic void setDocumentGraphLocation(org.eclipse.emf.common.util.URI location)
URI, of where the contained
SDocumentGraph object is persisted. The location is stored as
SFeature having the namespace
and the name .setDocumentGraphLocation in interface SDocumentpublic void saveDocumentGraph(org.eclipse.emf.common.util.URI documentGraphLocation)
SDocumentGraph object contained by this object as
SaltXML file at the location given by the passed URI object. The
URI is stored as SFeature by calling
#setSDocumentGraphLocation(URI). The relation between
SDocument and given SDocumentGraph will be removed.saveDocumentGraph in interface SDocumentdocumentGraphLocation - location of where to persist object as
file (must have the
ending ) in URI
syntaxpublic void loadDocumentGraph()
SDocumentGraph object and sets it to the contained
SDocumentGraph object. The location of where to find the SaltXML
containing the SDocumentGraph object must be given as
SFeature. It will be read via calling
#getSDocumentGraphLocation(). After loading, the feature
accessible via #getSDocumentGraphLocation() will be removed.loadDocumentGraph in interface SDocumentpublic void loadDocumentGraph(org.eclipse.emf.common.util.URI documentGraphLocation)
SDocumentGraph object and sets it to the contained
SDocumentGraph object. The location of where to find the SaltXML
containing the SDocumentGraph object is given by the passed
URI object. After loading, the feature accessible via
#getSDocumentGraphLocation() if exist will be removed.loadDocumentGraph in interface SDocumentdocumentGraphLocation - location of SaltXML to load SDocumentGraph object.public String toString()
toString in class IdentifiableElementImplpublic SCorpusGraph getGraph()
SNodeImplCopyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.