Pepper  3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
org.corpus_tools.pepper.core.PepperParamsReader Class Reference

This class reads the 'old' pepperParams file and fills a PepperJob with the content of the file. More...

Inherits DefaultHandler2.

Public Member Functions

PepperJob getJob ()
 Returns PepperJob to be filled. More...
 
void setJob (PepperJob job)
 Sets PepperJob to be filled. More...
 
URI getLocation ()
 
void setLocation (URI location)
 
void startElement (String uri, String localName, String qName, Attributes attributes) throws SAXException
 
File resolveFile (String fileStr)
 

Static Public Attributes

static final String NS_XMI = "http://www.omg.org/XMI"
 
static final String PREFIX_XMI = "xmi"
 
static final String NS_PEPPERPARAMS = "de.hu_berlin.german.korpling.saltnpepper.pepper.pepperParams"
 
static final String PREFIX_PEPPERPARAMS = "pepperParams"
 
static final String ELEMENT_PEPPERPARAMS = "PepperParams"
 
static final String ELEMENT_PEPPER_JOB_PARAMS = "pepperJobParams"
 
static final String ELEMENT_IMPORTER_PARAMS = "importerParams"
 
static final String ELEMENT_MODULE_PARAMS = "moduleParams"
 
static final String ELEMENT_EXPORTER_PARAMS = "exporterParams"
 
static final String ATT_ID = "id"
 
static final String ATT_MODULE_NAME = "moduleName"
 
static final String ATT_FORMAT_NAME = "formatName"
 
static final String ATT_FORMAT_VERSION = "formatVersion"
 
static final String ATT_SOURCE_PATH = "sourcePath"
 
static final String ATT_DEST_PATH = "destinationPath"
 
static final String ATT_SPECIAL_PARAMS = "specialParams"
 

Detailed Description

This class reads the 'old' pepperParams file and fills a PepperJob with the content of the file.

The pepperParams file is a relict of the times where Pepper was based on EMF. Therefore the pepperParams file is an xmi file.

Author
Florian Zipser

Member Function Documentation

◆ getJob()

PepperJob org.corpus_tools.pepper.core.PepperParamsReader.getJob ( )

Returns PepperJob to be filled.

Returns

◆ setJob()

void org.corpus_tools.pepper.core.PepperParamsReader.setJob ( PepperJob  job)

Sets PepperJob to be filled.

Parameters
job