Examples of LayoutInstance


Examples of com.alibaba.json.test.entity.pagemodel.LayoutInstance

            String instanceId = getNextTextValue("sid", parser); // get
                                                                 // instanceId
            String layoutId = getNextTextValue("cid", parser); // get
                                                               // layoutId

            LayoutInstance layoutInstance = new LayoutInstance();
            layoutInstance.setCid(layoutId);
            layoutInstance.setSid(Long.valueOf(instanceId));
            layoutInThisSegment.add(layoutInstance);

            current = parser.nextToken(); // move to field: regions
            assertExpectedFiled(parser.getCurrentName(), "regions", parser.getCurrentLocation());

            layoutInstance.setRegions(parseRegions(parser, segment));

            assertExpectedJsonToken((current = parser.nextToken()), JsonToken.END_OBJECT, parser.getCurrentLocation());
        }
        return layoutInThisSegment;
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.