Package org.apache.flex.compiler.problems

Examples of org.apache.flex.compiler.problems.FXGUnknownAttributeValueProblem


            return WhiteSpaceCollapse.PRESERVE;
        else if (FXG_WHITESPACE_COLLAPSE_VALUE.equals(value))
            return WhiteSpaceCollapse.COLLAPSE;
       
        //string did not match a known WhiteSpaceCollapse rule.
        problems.add(new FXGUnknownAttributeValueProblem(((GraphicNode)node.getDocumentNode()).getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_WHITESPACECOLLAPSE_ATTRIBUTE, value));
       
        return WhiteSpaceCollapse.PRESERVE;
    }
View Full Code Here


            return Caps.SQUARE;
        else if (FXG_CAPS_NONE_VALUE.equals(value))
            return Caps.NONE;
       
        //string did not match a known caps type.
        problems.add(new FXGUnknownAttributeValueProblem(getDocumentPath(), getStartLine(),
                getStartColumn(), FXG_CAPS_ATTRIBUTE, value));
        return caps;
    }
View Full Code Here

            return Joints.MITER;
        if (FXG_JOINTS_BEVEL_VALUE.equals(value))
            return Joints.BEVEL;
       
        //string did not match a known Joints type.
        problems.add(new FXGUnknownAttributeValueProblem(getDocumentPath(), getStartLine(),
                getStartColumn(), FXG_JOINTS_ATTRIBUTE, value));
        return joints;
    }
View Full Code Here

            return ScaleMode.NORMAL;
        else if (FXG_SCALEMODE_HORIZONTAL_VALUE.equals(value))
            return ScaleMode.HORIZONTAL;
       
        //string did not match a known Joints type.
        problems.add(new FXGUnknownAttributeValueProblem(getDocumentPath(), getStartLine(),
                getStartColumn(), FXG_SCALEMODE_ATTRIBUTE, value));
        return scaleMode;
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.FXGUnknownAttributeValueProblem

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.