public class WorkflowDescriptionReader extends DefaultHandler2
PepperJob
object with the content of the read file. The
workflow description file has to be conform to
./src/main/resources/workflowDescription_10.rnc.Modifier and Type | Field and Description |
---|---|
static String |
ATT_FORMAT_NAME |
static String |
ATT_FORMAT_VERSION |
static String |
ATT_ID |
static String |
ATT_KEY |
static String |
ATT_NAME |
static String |
ATT_PATH |
static String |
ATT_VERSION |
static String |
TAG_CUSTOMIZATION |
static String |
TAG_EXPORTER |
static String |
TAG_IMPORTER |
static String |
TAG_MANIPULATOR |
static String |
TAG_PEPEPR_JOB |
static String |
TAG_PROP |
Constructor and Description |
---|
WorkflowDescriptionReader() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Reads the property values and adds them to property object
|
void |
endElement(String uri,
String localName,
String qName)
If a property has no value, it must be created here.
|
org.eclipse.emf.common.util.URI |
getLocation() |
PepperJob |
getPepperJob()
Returns
PepperJob object to be filled with content. |
org.eclipse.emf.common.util.URI |
resolveURI(String path)
Transforms a given String to a URI.
|
void |
setLocation(org.eclipse.emf.common.util.URI location) |
void |
setPepperJob(PepperJob pepperJob)
Sets
PepperJob object to be filled with content. |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntity
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static final String TAG_PEPEPR_JOB
public static final String TAG_CUSTOMIZATION
public static final String TAG_PROP
public static final String TAG_IMPORTER
public static final String TAG_MANIPULATOR
public static final String TAG_EXPORTER
public static final String ATT_ID
public static final String ATT_VERSION
public static final String ATT_KEY
public static final String ATT_PATH
public static final String ATT_NAME
public static final String ATT_FORMAT_NAME
public static final String ATT_FORMAT_VERSION
public void setPepperJob(PepperJob pepperJob)
PepperJob
object to be filled with content.public org.eclipse.emf.common.util.URI getLocation()
public void setLocation(org.eclipse.emf.common.util.URI location)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public org.eclipse.emf.common.util.URI resolveURI(String path)
path
- Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.