Examples of IParameterSpecification


Examples of org.apache.tapestry.spec.IParameterSpecification

        __CLOVER_225_0.S[11475]++;push(_elementName, null, STATE_NO_CONTENT);
    } finally { }}

    private void enterParameter()
    {try { __CLOVER_225_0.M[2800]++;
        __CLOVER_225_0.S[11476]++;IParameterSpecification ps = _factory.createParameterSpecification();

        __CLOVER_225_0.S[11477]++;String name = getValidatedAttribute(
                "name",
                PARAMETER_NAME_PATTERN,
                "invalid-parameter-name");

        __CLOVER_225_0.S[11478]++;String propertyName = getValidatedAttribute(
                "property-name",
                PROPERTY_NAME_PATTERN,
                "invalid-property-name");

        __CLOVER_225_0.S[11479]++;if ((((propertyName == null) && (++__CLOVER_225_0.CT[1969] != 0)) || (++__CLOVER_225_0.CF[1969] == 0))){
            __CLOVER_225_0.S[11480]++;propertyName = name;}

        __CLOVER_225_0.S[11481]++;ps.setPropertyName(propertyName);

        __CLOVER_225_0.S[11482]++;ps.setRequired(getBooleanAttribute("required", false));
        __CLOVER_225_0.S[11483]++;ps.setDefaultValue(getAttribute("default-value"));
        __CLOVER_225_0.S[11484]++;ps.setDirection((Direction) getConvertedAttribute("direction", Direction.CUSTOM));

        __CLOVER_225_0.S[11485]++;String type = getAttribute("type"); // Current, 3.0+ DTD

        __CLOVER_225_0.S[11486]++;if ((((type != null) && (++__CLOVER_225_0.CT[1970] != 0)) || (++__CLOVER_225_0.CF[1970] == 0))){
            __CLOVER_225_0.S[11487]++;ps.setType(type);}

        __CLOVER_225_0.S[11488]++;IComponentSpecification cs = (IComponentSpecification) peekObject();

        __CLOVER_225_0.S[11489]++;cs.addParameter(name, ps);
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.