Pepper
3.3.3-SNAPSHOT
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
An abstract implementation of PepperMapper to be used for further derivations for specific mapping purposes. More...
Inherits org.corpus_tools.pepper.modules.PepperMapper.
Inherited by org.corpus_tools.pepper.modules.coreModules.SaltValidator.ValidatorMapper, and org.corpus_tools.pepper.modules.coreModules.TextImporter.TextMapper.
Protected Member Functions | |
void | initialize () |
This method initializes this object and is called by the constructor. More... | |
void | readXMLResource (DefaultHandler2 contentHandler, URI documentLocation) |
Helper method to read an xml file with a DefaultHandler2 implementation given as contentHandler. More... | |
Protected Attributes | |
PepperModuleProperties | props = null |
PepperModuleProperties object containing user customizations to be observed during the mapping. | |
volatile Double | progress = 0d |
Stores the current progress (between 0 and 1) | |
PepperMapperController | controller = null |
An abstract implementation of PepperMapper to be used for further derivations for specific mapping purposes.
List<MappingSubject> org.corpus_tools.pepper.impl.PepperMapperImpl.getMappingSubjects | ( | ) |
Returns a list of all subjects (SDocument or SCorpus) to be merged.
Implements org.corpus_tools.pepper.modules.PepperMapper.
|
protected |
This method initializes this object and is called by the constructor.
OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING.
DOCUMENT_STATUS org.corpus_tools.pepper.impl.PepperMapperImpl.mapSCorpus | ( | ) |
OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING.
<emph>NOTE: This method is only called if the element to be mapped is of type SCorpus, i.e., if this.getCorpus() != null!</emph>
Implements org.corpus_tools.pepper.modules.PepperMapper.
DOCUMENT_STATUS org.corpus_tools.pepper.impl.PepperMapperImpl.mapSDocument | ( | ) |
{ PepperMapper::mapSDocument()}
OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING.
<emph>NOTE: This method is only called if the element to be mapped is of type SDocument, i.e., if this.getDocument() != null!</emph>
Implements org.corpus_tools.pepper.modules.PepperMapper.
|
protected |
Helper method to read an xml file with a DefaultHandler2 implementation given as contentHandler.
It is assumed, that the file encoding is set to UTF-8.
contentHandler | DefaultHandler2 implementation |
documentLocation | location of the xml-file |