Package com.thoughtworks.xstream.converters

Examples of com.thoughtworks.xstream.converters.SingleValueConverterWrapper


            }
           
            //crs
            writer.startNode("crs");
            context.convertAnother( g.getCoordinateReferenceSystem(),
                new SingleValueConverterWrapper( new SRSConverter() ) );
            writer.endNode();
          
        }
View Full Code Here


            }
           
            CoordinateReferenceSystem crs = null;
            if ( "crs".equals( reader.getNodeName() ) ) {
                crs = (CoordinateReferenceSystem) context.convertAnother( null, CoordinateReferenceSystem.class,
                    new SingleValueConverterWrapper( new SRSConverter() ));
                reader.moveUp();
            }
           
            // new grid range
            GeneralGridEnvelope gridRange = new GeneralGridEnvelope(low, high);
View Full Code Here

                        throw new InstantiationError("Unrecognized constructor parameter: "+p[i]);

                }
                ConverterMatcher cm = (ConverterMatcher)c.newInstance(args);
                result = cm instanceof SingleValueConverter
                        ? new SingleValueConverterWrapper((SingleValueConverter)cm)
                        : (Converter)cm;
                cache.put(t, result);
                return result;
            } catch (ClassNotFoundException e) {
                cache.put(t, this)// See above.. this object in cache represents null
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.converters.SingleValueConverterWrapper

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.