Examples of Serialiser


Examples of eu.admire.registry.type.serialiser.Serialiser

    {
        OGSADAIDataSourceExchange ds = (OGSADAIDataSourceExchange)exchange;
        RequestNode source = connection.getSource();
        Location sourceLocation = (Location)source.getAnnotation(AnnotationKeys.LOCATION);
        ds.setService(sourceLocation);
        Serialiser serialiser = new GenericSerialiser();
        ds.setSerialiser(serialiser);
        TraversableSingleActivityOutput serOut = serialiser.applySerialiser(
                sourcePipeline,
                sourcePE.getOutput(
                        connection.getSourceOutputName(),
                        connection.getSourceOutputIndex()));
           
View Full Code Here

Examples of eu.admire.registry.type.serialiser.Serialiser

            PipelineWorkflow targetPipeline,
            ProcessingElement targetPE)
        throws ExchangeException
    {
        OGSADAIDataSourceExchange ds = (OGSADAIDataSourceExchange)exchange;
        Serialiser serialiser = new GenericSerialiser();
        RequestNode source = connection.getSource();
        TraversableSingleActivityOutput output =
            mConfigure.addActivity(source, ds, targetPipeline);
           
        ProcessingElement obtain =
            new ProcessingElement(ObtainFromDataSource.DEFAULT_ACTIVITY_NAME);
        obtain.createInput(ObtainFromDataSource.INPUT_MODE);
        obtain.addInput(ObtainFromDataSource.INPUT_MODE, new StringData(ModeType.BLOCK.toString()));
        obtain.createInput(ObtainFromDataSource.INPUT_NUM_OF_BLOCKS);
        obtain.addInput(ObtainFromDataSource.INPUT_NUM_OF_BLOCKS, new IntegerData(100));
        obtain.createInput(ObtainFromDataSource.INPUT_DATA_SOURCE_RESOURCE);
        obtain.connectInput(ObtainFromDataSource.INPUT_DATA_SOURCE_RESOURCE, output);
        obtain.createOutput(ObtainFromDataSource.OUTPUT_DATA);
        targetPipeline.add(obtain);
               
        TraversableSingleActivityOutput deserOut =
            serialiser.applyDeserialiser(
                    targetPipeline,
                    obtain.getOutput(ObtainFromDataSource.OUTPUT_DATA));
        targetPE.connectInput(
                targetInput.getName(),
                targetInput.getIndex(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.