Package org.geotools.xml

Examples of org.geotools.xml.OptionalComponentParameter


        // that the setter property gets updated properly every time
        bindings.put(
            GML.AbstractGeometryType,
            new SetterInjectionComponentAdapter(
                GML.AbstractGeometryType, AbstractGeometryTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
       
        // use setter injection for OGCBBoxTypeBinding to allow an
        // optional crs to be set in teh binding context for parsing, this crs
        // is set by the binding of a parent element.
        // note: it is important that this component adapter is non-caching so
        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,   
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
        // override XSQName binding
        bindings.put(XS.QNAME, XSQNameBinding.class);
    }
View Full Code Here


        // that the setter property gets updated properly every time
        bindings.put(
                GML.AbstractGeometryType,
            new SetterInjectionComponentAdapter(
                GML.AbstractGeometryType, AbstractGeometryTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
        bindings.put(
                GML.BoxType,
            new SetterInjectionComponentAdapter(
                GML.BoxType, GMLBoxTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
       
        // use setter injection for OGCBBoxTypeBinding to allow an
        // optional crs to be set in teh binding context for parsing, this crs
        // is set by the binding of a parent element.
        // note: it is important that this component adapter is non-caching so
        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
    }
View Full Code Here

        // that the setter property gets updated properly every time
        bindings.put(
                GML.AbstractGeometryType,
            new SetterInjectionComponentAdapter(
                GML.AbstractGeometryType, AbstractGeometryTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
        bindings.put(
                GML.BoxType,
            new SetterInjectionComponentAdapter(
                GML.BoxType, GMLBoxTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
       
        // use setter injection for OGCBBoxTypeBinding to allow an
        // optional crs to be set in teh binding context for parsing, this crs
        // is set by the binding of a parent element.
        // note: it is important that this component adapter is non-caching so
        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
    }
View Full Code Here

       
        bindings.put(
                GML.BoxType,
            new SetterInjectionComponentAdapter(
                GML.BoxType, GMLBoxTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
       
        // use setter injection for OGCBBoxTypeBinding to allow an
        // optional crs to be set in teh binding context for parsing, this crs
        // is set by the binding of a parent element.
        // note: it is important that this component adapter is non-caching so
        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
    }
View Full Code Here

        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,   
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
        // override XSQName binding
        bindings.put(XS.QNAME, XSQNameBinding.class);
    }
View Full Code Here

        bindings.put(
            qName,
            new SetterInjectionComponentAdapter(
                qName, AbstractGeometryTypeBinding.class,
                new Parameter[]{
                    new OptionalComponentParameter(CoordinateReferenceSystem.class),
                    new DirectObjectParameter(config, Configuration.class),
                    new DirectObjectParameter(getSrsSyntax(config), SrsSyntax.class)
                }
            )
        );
View Full Code Here

        // that the setter property gets updated properly every time
        bindings.put(
            GML.AbstractGeometryType,
            new SetterInjectionComponentAdapter(
                GML.AbstractGeometryType, AbstractGeometryTypeBinding.class,
                new Parameter[]{ new OptionalComponentParameter(CoordinateReferenceSystem.class)}
            )
        );
       
        // use setter injection for OGCBBoxTypeBinding to allow an
        // optional crs to be set in teh binding context for parsing, this crs
        // is set by the binding of a parent element.
        // note: it is important that this component adapter is non-caching so
        // that the setter property gets updated properly every time
        bindings.put(
            OGC.BBOXType,   
            new SetterInjectionComponentAdapter(OGC.BBOXType,
                OGCBBOXTypeBinding.class,
                new Parameter[] { new OptionalComponentParameter(CoordinateReferenceSystem.class) }));
       
        // override XSQName binding
        bindings.put(XS.QNAME, XSQNameBinding.class);
    }
View Full Code Here

TOP

Related Classes of org.geotools.xml.OptionalComponentParameter

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.