Examples of FXGUnknownAttributeValueProblem


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

        if (FXG_FONTWEIGHT_NORMAL_VALUE.equals(value))
            return FontWeight.NORMAL;
        else if (FXG_FONTWEIGHT_BOLD_VALUE.equals(value))
            return FontWeight.BOLD;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_FONTWEIGHT_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

                        ((AbstractFXGNode)node).getDocumentPath(), node.getStartLine(), node.getStartColumn());
            }
            else
            {
                // Unknown fill mode.
                problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                        node.getStartColumn(), FXG_FILLMODE_ATTRIBUTE, value));
            }
           
            return defaultValue;
        }
View Full Code Here

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

        if (FXG_TEXTDECORATION_NONE_VALUE.equals(value))
            return TextDecoration.NONE;
        else if (FXG_TEXTDECORATION_UNDERLINE_VALUE.equals(value))
            return TextDecoration.UNDERLINE;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_TEXTDECORATION_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

                FXGLog.getLogger().log(IFXGLogger.WARN, "DefaultAttributeValue", null, ((AbstractFXGNode)node).getDocumentPath(), node.getStartLine(), node.getStartColumn());
            }
            else
            {
                // Unknown spreadMethod.
                problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                        node.getStartColumn(), FXG_SPREADMETHOD_ATTRIBUTE, value));
            }
           
            return defaultValue;
        }
View Full Code Here

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

        else if (FXG_KERNING_ON_VALUE.equals(value))
            return Kerning.ON;
        else if (FXG_KERNING_OFF_VALUE.equals(value))
            return Kerning.OFF;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_KERNING_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

                FXGLog.getLogger().log(IFXGLogger.WARN, "DefaultAttributeValue", null, ((AbstractFXGNode)node).getDocumentPath(), node.getStartLine(), node.getStartColumn());
            }
            else
            {
                // Invalid identifier format
                problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                        node.getStartColumn(), name, value));
            }
           
            return defaultValue;
        }
View Full Code Here

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

        if (FXG_WHITESPACE_PRESERVE_VALUE.equals(value))
            return WhiteSpaceCollapse.PRESERVE;
        else if (FXG_WHITESPACE_COLLAPSE_VALUE.equals(value))
            return WhiteSpaceCollapse.COLLAPSE;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_WHITESPACECOLLAPSE_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

        else if (FXG_BREAKOPPORTUNITY_NONE_VALUE.equals(value))
            return BreakOpportunity.NONE;
        else if (FXG_BREAKOPPORTUNITY_ALL_VALUE.equals(value))
            return BreakOpportunity.ALL;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_BREAKOPPORTUNITY_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

        else if (FXG_DIGITCASE_LINING_VALUE.equals(value))
            return DigitCase.LINING;
        else if (FXG_DIGITCASE_OLDSTYLE_VALUE.equals(value))
            return DigitCase.OLDSTYLE;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_DIGITCASE_ATTRIBUTE, value));
       
        return defaultValue;
    }
View Full Code Here

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

        else if (FXG_DIGITWIDTH_PROPORTIONAL_VALUE.equals(value))
            return DigitWidth.PROPORTIONAL;
        else if (FXG_DIGITWIDTH_TABULAR_VALUE.equals(value))
            return DigitWidth.TABULAR;
       
        problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_DIGITWIDTH_ATTRIBUTE, value));
       
        return defaultValue;
    }
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.