Examples of XmlConstantPropertyRule


Examples of net.sf.jasperreports.engine.xml.XmlConstantPropertyRule

    digester.addObjectCreate(listPattern, StandardListComponent.class);
    digester.addSetProperties(listPattern,
        //properties to be ignored by this rule
        new String[]{"printOrder"},
        new String[0]);
    digester.addRule(listPattern, new XmlConstantPropertyRule(
        "printOrder", "printOrderValue", PrintOrderEnum.values()));
   
    String listContentsPattern = listPattern + "/listContents";
    digester.addObjectCreate(listContentsPattern, DesignListContents.class);
    digester.addSetProperties(listContentsPattern);
View Full Code Here

Examples of net.sf.jasperreports.engine.xml.XmlConstantPropertyRule

    digester.addSetProperties(barcodePattern,
        //properties to be ignored by this rule
        new String[]{JRXmlConstants.ATTRIBUTE_evaluationTime, StandardBarbecueComponent.PROPERTY_ROTATION},
        new String[0]);
    digester.addRule(barcodePattern,
        new XmlConstantPropertyRule(
            JRXmlConstants.ATTRIBUTE_evaluationTime, "evaluationTimeValue",
            EvaluationTimeEnum.values()));
    digester.addRule(barcodePattern,
        new XmlConstantPropertyRule(
            StandardBarbecueComponent.PROPERTY_ROTATION,
            RotationEnum.values()));

    String barcodeExpressionPattern = barcodePattern + "/codeExpression";
    digester.addFactoryCreate(barcodeExpressionPattern,
View Full Code Here

Examples of net.sf.jasperreports.engine.xml.XmlConstantPropertyRule

        //properties to be ignored by this rule
        new String[]{JRXmlConstants.ATTRIBUTE_evaluationTime},
        new String[0]);
    //rule to set evaluation time
    digester.addRule(barcodePattern,
        new XmlConstantPropertyRule(
            JRXmlConstants.ATTRIBUTE_evaluationTime, "evaluationTimeValue",
            EvaluationTimeEnum.values()));
   
    String codeExpressionPattern = barcodePattern + "/codeExpression";
    digester.addFactoryCreate(codeExpressionPattern,
View Full Code Here

Examples of net.sf.jasperreports.engine.xml.XmlConstantPropertyRule

        HtmlComponent.PROPERTY_VERTICAL_ALIGN,
        HtmlComponent.PROPERTY_EVALUATION_TIME },
        new String[0]);
       
    digester.addRule(htmlComponentPattern,
        new XmlConstantPropertyRule(
            HtmlComponent.PROPERTY_SCALE_TYPE,
            ScaleImageEnum.values()));
    digester.addRule(htmlComponentPattern,
        new XmlConstantPropertyRule(
            HtmlComponent.PROPERTY_HORIZONTAL_ALIGN,
            HorizontalAlignEnum.values()));
    digester.addRule(htmlComponentPattern,
        new XmlConstantPropertyRule(
            HtmlComponent.PROPERTY_VERTICAL_ALIGN,
            VerticalAlignEnum.values()));
    digester.addRule(htmlComponentPattern,
        new XmlConstantPropertyRule(
            HtmlComponent.PROPERTY_EVALUATION_TIME,
            EvaluationTimeEnum.values()));

    String htmlContentPattern = htmlComponentPattern + "/htmlContentExpression";
    digester.addFactoryCreate(htmlContentPattern, JRExpressionFactory.StringExpressionFactory.class.getName());
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.