Package org.apache.flex.compiler.definitions.metadata

Examples of org.apache.flex.compiler.definitions.metadata.IMetaTagAttribute


           
            for (IMetaTag skinPart : skinParts)
            {
                cinitInsns.addInstruction(OP_pushstring, skinPart.getDecoratedDefinition().getBaseName());
                cinitInsns.addInstruction(OP_convert_s);
                IMetaTagAttribute attr = skinPart.getAttribute("required");
                if (attr == null || attr.getValue().equals("true"))
                    cinitInsns.addInstruction(OP_pushtrue);
                else
                    cinitInsns.addInstruction(OP_pushfalse);
            }
            cinitInsns.addInstruction(OP_newobject, skinParts.length);
View Full Code Here


        for (IClassDefinition c : classIterable(project, true))
        {
            IMetaTag defaultPropertyMetaData = c.getMetaTagByName(IMetaAttributeConstants.ATTRIBUTE_DEFAULTPROPERTY);
            if (defaultPropertyMetaData != null)
            {
                IMetaTagAttribute attrs[] = defaultPropertyMetaData.getAllAttributes();
                if ((attrs.length == 1) && (!attrs[0].hasKey()))
                    return attrs[0].getValue();
            }
        }
        return null;
View Full Code Here

        return null;
    }

    public String getValue(String key)
    {
        IMetaTagAttribute attribute = getAttribute(key);
        if (attribute != null)
            return attribute.getValue();
        return "";
    }
View Full Code Here

    }

    @Override
    public String getAttributeValue(String key)
    {
        IMetaTagAttribute attribute = getAttribute(key);
        return attribute != null ? attribute.getValue() : null;
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.definitions.metadata.IMetaTagAttribute

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.