Examples of FXGUnknownAttributeValueProblem


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

                }
            }
            else
            {
                // Unknown LinkFormat element.
                problems.add(new FXGUnknownAttributeValueProblem(getDocumentPath(), node.getStartLine(),
                        node.getStartColumn(), node.getNodeName(), propertyName));
            }
        }
        else
        {
View Full Code Here

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

            return BaselineOffset.newInstance(DOMParserHelper.parseDouble(this, value, min, max));
          }
          catch(Exception e)
          {
              //Exception: Unknown first baseline offset: {0}
                problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                        node.getStartColumn(), name, value));
              return BaselineOffset.newInstance(defaultValue);
          }
        }
    }
View Full Code Here

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

                return NumberAuto.newInstance(NumberAutoAsEnum.AUTO);
            else if (FXG_INHERIT_VALUE.equals(value))
              return NumberAuto.newInstance(NumberAutoAsEnum.INHERIT);
           
            //Exception: Unknown number auto: {0}
            problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                    node.getStartColumn(), name, value));   
            return NumberAuto.newInstance(defaultValue);
        }
    }
View Full Code Here

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

                return NumberAuto.newInstance(NumberAutoAsEnum.AUTO);
            else if (FXG_INHERIT_VALUE.equals(value))
              return NumberAuto.newInstance(NumberAutoAsEnum.INHERIT);
           
            //Exception: Unknown number auto: {0}
            problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                    node.getStartColumn(), name, value));
           
            return NumberAuto.newInstance(defaultValue);
        }
    }
View Full Code Here

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

        {
            if (FXG_INHERIT_VALUE.equals(value))
                return NumberInherit.newInstance(NumberInheritAsEnum.INHERIT);
           
            //Exception: Unknown number inherit: {0}
            problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                    node.getStartColumn(), name, value));   
           
            return NumberInherit.newInstance(defaultValue);
        }
    }
View Full Code Here

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

            {
                return BaselineShift.newInstance(BaselineShiftAsEnum.SUBSCRIPT);
            }

            //Exception: Unknown baseline shift: {0}
            problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                    node.getStartColumn(), name, value));   
           
            return BaselineShift.newInstance(defaultValue);
        }
    }
View Full Code Here

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

            {
                return NumberInherit.newInstance(NumberInheritAsEnum.INHERIT);
            }
           
            //Exception: Unknown number inherit: {0}
            problems.add(new FXGUnknownAttributeValueProblem(node.getDocumentPath(), node.getStartLine(),
                    node.getStartColumn(), name, value));
           
            return NumberInherit.newInstance(defaultValue);
        }
    }
View Full Code Here

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

            return Winding.EVEN_ODD;
        else if (FXG_WINDING_NONZERO_VALUE.equals(value))
            return Winding.NON_ZERO;
       
        //Unknown winding value: {0}.
        problems.add(new FXGUnknownAttributeValueProblem(getDocumentPath(), getStartLine(),
                getStartColumn(), FXG_WINDING_ATTRIBUTE, value));
       
        return winding;
    }
View Full Code Here

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

            return Kerning.ON;
        else if (FXG_KERNING_OFF_VALUE.equals(value))
            return Kerning.OFF;
       
        //string did not match a known Kerning value.
        problems.add(new FXGUnknownAttributeValueProblem(((GraphicNode)node.getDocumentNode()).getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_KERNING_ATTRIBUTE, value));
       
        return Kerning.AUTO;
    }
View Full Code Here

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

            return LineBreak.TOFIT;
        else if (FXG_LINEBREAK_EXPLICIT_VALUE.equals(value))
            return LineBreak.EXPLICIT;
       
        //string did not match a known LineBreak rule.
        problems.add(new FXGUnknownAttributeValueProblem(((GraphicNode)node.getDocumentNode()).getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), FXG_LINEBREAK_ATTRIBUTE, value));
       
        return LineBreak.TOFIT;
    }
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.