Package org.geoserver.wps.transmute

Examples of org.geoserver.wps.transmute.Transmuter


     *
     * @param type
     * @return
     */
    public Transmuter getDefaultTransmuter(final Class<?> type) {
        Transmuter transmuter = this.defaultTransmuters.get(type);

        if (null == transmuter) {
            throw new WPSException("NoApplicableCode", "No default transmuter registered for type "
                + type.toString() + "'.");
        }
View Full Code Here


                    start("Input", attributes);
                        element("ows:Identifier", inputIdentifier.key);
                        element("ows:Title",      inputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   inputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(inputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexData");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexData");
                        } else {
View Full Code Here

                for (Parameter<?> outputIdentifier : pf.getResultInfo(processName, null).values()) {
                    start("Output");
                        element("ows:Identifier", outputIdentifier.key);
                        element("ows:Title",      outputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   outputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(outputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexOutput");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexOutput");
                        } else {
View Full Code Here

                    start("Input", attributes);
                        element("ows:Identifier", inputIdentifier.key);
                        element("ows:Title",      inputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   inputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(inputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexData");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexData");
                        } else {
View Full Code Here

                for (Parameter<?> outputIdentifier : pf.getResultInfo(processName, null).values()) {
                    start("Output");
                        element("ows:Identifier", outputIdentifier.key);
                        element("ows:Title",      outputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   outputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(outputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexOutput");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexOutput");
                        } else {
View Full Code Here

     *
     * @param type
     * @return
     */
    public Transmuter getDefaultTransmuter(final Class<?> type) {
        Transmuter transmuter = this.defaultTransmuters.get(type);

        if (null == transmuter) {
            throw new WPSException("NoApplicableCode", "No default transmuter registered for type "
                + type.toString() + "'.");
        }
View Full Code Here

                    start("Input", attributes);
                        element("ows:Identifier", inputIdentifier.key);
                        element("ows:Title",      inputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   inputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(inputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexData");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexData");
                        } else {
View Full Code Here

                for (Parameter<?> outputIdentifier : pf.getResultInfo(processName, null).values()) {
                    start("Output");
                        element("ows:Identifier", outputIdentifier.key);
                        element("ows:Title",      outputIdentifier.title.toString(      this.locale));
                        element("ows:Abstract",   outputIdentifier.description.toString(this.locale));
                        Transmuter transmuter = this.dataTransformer.getDefaultTransmuter(outputIdentifier.type);
                        if (transmuter instanceof ComplexTransmuter) {
                            start("ComplexOutput");
                                this.complexParameter((ComplexTransmuter)transmuter);
                            end("ComplexOutput");
                        } else {
View Full Code Here

TOP

Related Classes of org.geoserver.wps.transmute.Transmuter

Copyright © 2018 www.massapicom. 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.