public class PTBExporterMapper
extends org.corpus_tools.pepper.impl.PepperMapperImpl
implements org.corpus_tools.salt.core.GraphTraverseHandler
| Modifier and Type | Field and Description |
|---|---|
StringBuilder |
stbOutput |
| Constructor and Description |
|---|
PTBExporterMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodCurrentNode,
long lngChildNumber)
Check constraints: only process this subtree if the current node is a
root or if it has an incoming
SDominanceRelation If the user has
defined the PTBExporterProperties.PROP_NODENAMESPACE, also check
that the node is in a layer corresponding to the defined namespace value. |
org.corpus_tools.pepper.common.DOCUMENT_STATUS |
mapSDocument()
Called by the Pepper framework to start the mapping for one
document-structure.
|
void |
nodeLeft(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SNode nodCurrentNode,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodPrevNode,
long lngChildNumber) |
void |
nodeReached(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SNode nodCurrentNode,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodPrevNode,
long lngChildNumber) |
addProgress, getCorpus, getDocument, getMappingResult, getMappingSubjects, getPepperMapperController, getProgress, getProperties, getResourceURI, initialize, mapSCorpus, readXMLResource, setCorpus, setDocument, setMappingResult, setPepperMapperController, setProgress, setProperties, setResourceURIpublic StringBuilder stbOutput
public org.corpus_tools.pepper.common.DOCUMENT_STATUS mapSDocument()
mapSDocument in interface org.corpus_tools.pepper.modules.PepperMappermapSDocument in class org.corpus_tools.pepper.impl.PepperMapperImplpublic boolean checkConstraint(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodCurrentNode,
long lngChildNumber)
SDominanceRelation If the user has
defined the PTBExporterProperties.PROP_NODENAMESPACE, also check
that the node is in a layer corresponding to the defined namespace value.checkConstraint in interface org.corpus_tools.salt.core.GraphTraverseHandlerpublic void nodeLeft(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SNode nodCurrentNode,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodPrevNode,
long lngChildNumber)
nodeLeft in interface org.corpus_tools.salt.core.GraphTraverseHandlerpublic void nodeReached(org.corpus_tools.salt.core.SGraph.GRAPH_TRAVERSE_TYPE trvTraverseType,
String strTraverseName,
org.corpus_tools.salt.core.SNode nodCurrentNode,
org.corpus_tools.salt.core.SRelation relCurrentRelation,
org.corpus_tools.salt.core.SNode nodPrevNode,
long lngChildNumber)
nodeReached in interface org.corpus_tools.salt.core.GraphTraverseHandlerCopyright © 2013–2015 Humboldt-Universität zu Berlin. All rights reserved.