Package com.volantis.xml.pipeline.sax.impl.template

Examples of com.volantis.xml.pipeline.sax.impl.template.ParameterBlock


        } else if (use == Use.REQUIRED && defaultValue != null) {
            throw forwardFatalError(dynamicProcess,
                    "Default values cannot be specified for " +
                    "mandatory parameter '" + name + "'");
        } else {
            ParameterBlock parameters = model.getParameterBlock();
            TValue boundValue = parameters.query(name);

            if (boundValue != null) {
                if (boundValue.getComplexity() == Complexity.COMPLEX &&
                        complexity == Complexity.SIMPLE) {
View Full Code Here


            throws SAXException {

        TemplateModel model = getModel(dynamicProcess);

        // Make sure that all the bindings supplied by the apply are correct.
        ParameterBlock parameters = model.getParameterBlock();
        for (Iterator i = parameters.iterator(); i.hasNext();) {
            String name = (String) i.next();
            TValue binding = parameters.query(name);

            if (!binding.isVerified()) {
                forwardFatalError(dynamicProcess,
                        "Binding \"" + name + "\" has been " +
                        "supplied that does not exist in the template " +
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.impl.template.ParameterBlock

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.