public class T2FlowParser extends Object
Modifier and Type | Field and Description |
---|---|
static URI |
configBeanURI |
static String |
DEFAULT_PRODUCED_BY |
protected ServiceLoader<T2Parser> |
discoveredT2Parsers |
static URI |
exampleDataURI |
protected JAXBContext |
jaxbContext |
protected ThreadLocal<ParserState> |
parserState |
static URI |
ravenURI |
static URI |
t2flowParserURI |
protected Set<T2Parser> |
t2Parsers |
protected ThreadLocal<Unmarshaller> |
unmarshaller |
Constructor and Description |
---|
T2FlowParser() |
public static final URI ravenURI
public static final URI configBeanURI
public static final URI t2flowParserURI
public static final URI exampleDataURI
public static final String DEFAULT_PRODUCED_BY
protected ThreadLocal<ParserState> parserState
protected final JAXBContext jaxbContext
protected ServiceLoader<T2Parser> discoveredT2Parsers
protected final ThreadLocal<Unmarshaller> unmarshaller
public T2FlowParser() throws JAXBException
JAXBException
public static <T extends Named> T findNamed(Collection<T> namedObjects, String name)
public final boolean isValidating()
public final void setValidating(boolean validating)
protected ReceiverPort findReceiverPort(Workflow wf, Link sink) throws ReaderException
ReaderException
protected SenderPort findSenderPort(Workflow wf, Link source) throws ReaderException
ReaderException
public boolean isStrict()
protected void makeProfile(Workflow wf)
protected Activity parseActivityAndAddToProfile(Activity origActivity) throws ReaderException
ReaderException
protected Activity parseActivity(Activity origActivity) throws ReaderException
ReaderException
protected void parseActivityBinding(Activity origActivity, int activityPosition) throws ReaderException, JAXBException
ReaderException
JAXBException
protected Configuration parseConfigurationAndAddToProfile(ConfigBean configBean) throws JAXBException, ReaderException
JAXBException
ReaderException
protected Configuration parseConfiguration(ConfigBean configBean) throws JAXBException, ReaderException
JAXBException
ReaderException
public static Transformer getTransformer() throws TransformerConfigurationException
public Unmarshaller getUnmarshaller()
protected void parseActivityInputMap(Map inputMap) throws ReaderException
ReaderException
protected void parseActivityOutputMap(Map outputMap) throws ReaderException
ReaderException
protected Workflow parseDataflow(Dataflow df, Workflow wf) throws ReaderException, JAXBException
ReaderException
JAXBException
public void parseAnnotations(WorkflowBean annotatedBean, Annotations annotations) throws ReaderException
ReaderException
protected Revision parseIdentificationAnnotations(Annotations annotations)
protected Set<DataLink> parseDatalinks(Datalinks origLinks) throws ReaderException
ReaderException
protected void parseDispatchStack(DispatchStack dispatchStack) throws ReaderException
ReaderException
protected void parseDispatchStack(DispatchLayer dispatchLayer) throws ReaderException
ReaderException
protected Set<InputWorkflowPort> parseInputPorts(AnnotatedGranularDepthPorts originalPorts) throws ReaderException
ReaderException
protected IterationStrategyStack parseIterationStrategyStack(IterationStrategyStack originalStack) throws ReaderException
ReaderException
protected IterationStrategyNode parseIterationStrategyNode(IterationNode topNode) throws ReaderException
ReaderException
protected Set<OutputWorkflowPort> parseOutputPorts(AnnotatedPorts originalPorts) throws ReaderException
ReaderException
protected Set<InputProcessorPort> parseProcessorInputPorts(Processor newProc, DepthPorts origPorts)
protected Set<OutputProcessorPort> parseProcessorOutputPorts(Processor newProc, GranularDepthPorts origPorts)
protected Set<Processor> parseProcessors(Processors originalProcessors) throws ReaderException, JAXBException
ReaderException
JAXBException
public WorkflowBundle parseT2Flow(File t2File) throws IOException, ReaderException, JAXBException
IOException
ReaderException
JAXBException
public WorkflowBundle parseT2Flow(InputStream t2File) throws IOException, JAXBException, ReaderException
IOException
JAXBException
ReaderException
public WorkflowBundle parseT2Flow(Workflow wf) throws ReaderException, JAXBException
ReaderException
JAXBException
public void setStrict(boolean strict)
Copyright © 2014 myGrid. All rights reserved.