Class SaltValidator.ValidatorMapper
- java.lang.Object
-
- org.corpus_tools.pepper.impl.PepperMapperImpl
-
- org.corpus_tools.pepper.modules.coreModules.SaltValidator.ValidatorMapper
-
- All Implemented Interfaces:
PepperMapper
- Enclosing class:
- SaltValidator
public static class SaltValidator.ValidatorMapper extends PepperMapperImpl
Checks whether eachSCorpusobject contains either aSCorpusobject or aSDocumentobject.
-
-
Field Summary
-
Fields inherited from class org.corpus_tools.pepper.impl.PepperMapperImpl
controller, progress, props
-
-
Constructor Summary
Constructors Constructor Description ValidatorMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DOCUMENT_STATUSmapSCorpus()Checks whether eachSCorpusobject contains either aSCorpusobject or aSDocumentobject.DOCUMENT_STATUSmapSDocument()Checks whetherSTextualDS.getText()is not empty when anSTextualRelationis pointing to it. Checks whether start and end values ofSTextualRelationare not empty and fit into corresponding text Checks whether allSRelationobject have a source and a target node-
Methods inherited from class org.corpus_tools.pepper.impl.PepperMapperImpl
addProgress, getCorpus, getDocument, getMappingResult, getMappingSubjects, getPepperMapperController, getProgress, getProperties, getResourceURI, initialize, readXMLResource, setCorpus, setDocument, setMappingResult, setPepperMapperController, setProgress, setProperties, setResourceURI
-
-
-
-
Method Detail
-
mapSCorpus
public DOCUMENT_STATUS mapSCorpus()
- Checks whether each
SCorpusobject contains either aSCorpusobject or aSDocumentobject.
- Specified by:
mapSCorpusin interfacePepperMapper- Overrides:
mapSCorpusin classPepperMapperImpl
- Checks whether each
-
mapSDocument
public DOCUMENT_STATUS mapSDocument()
- Checks whether
STextualDS.getText()is not empty when anSTextualRelationis pointing to it. - Checks whether start and end values of
STextualRelationare not empty and fit into corresponding text - Checks whether all
SRelationobject have a source and a target node
- Specified by:
mapSDocumentin interfacePepperMapper- Overrides:
mapSDocumentin classPepperMapperImpl
- Checks whether
-
-