Examples of attributeArray()


Examples of org.pirkaengine.core.parser.Fragment.attributeArray()

            // message
            Fragment startFrag = iter.next();
            if (startFrag.type != Fragment.Type.DEF_START) throw new TemplateBuildFailedException("format error"); // TODO
            // message
            text.delete(startFrag.offset, text.length());
            Fragment.Attribute[] flgAttrs = startFrag.attributeArray();
            assert flgAttrs.length == 3 : startFrag;
            assert flgAttrs[0].key.equals("language") : startFrag;
            assert flgAttrs[1].key.equals("type") : startFrag;
            assert flgAttrs[1].value.equals("function") : startFrag;
            assert flgAttrs[2].key.equals("name") : startFrag;
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.