Package org.jsynthlib.xmldevice

Examples of org.jsynthlib.xmldevice.StringSenderSpec


                getField("sender", IPatchStringSender.class, widget,
                        PatchNameWidget.class);
        stringParamSpec.setLength(field.intValue());
        stringParamSpec.setUuid(generateUuid());
        if (sender != null) {
            StringSenderSpec xmlSender = stringParamSpec.addNewStringSender();
            xmlSender
                    .setStringSenderClass(patchNameSender.getClass().getName());
            try {
                Map<String, String> description =
                        BeanUtils.describe(patchNameSender);
                Iterator<Entry<String, String>> iterator =
                        description.entrySet().iterator();
                while (iterator.hasNext()) {
                    Entry<String, String> entry = iterator.next();
                    PropertySpec property = xmlSender.addNewProperty();
                    property.setName(entry.getKey());
                    property.setValue(entry.getValue());
                }
            } catch (InvocationTargetException e) {
                LOG.warn(e.getMessage(), e);
View Full Code Here

TOP

Related Classes of org.jsynthlib.xmldevice.StringSenderSpec

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.