Package org.apache.cocoon.sitemap.action

Examples of org.apache.cocoon.sitemap.action.Action


    public void installAction(String type) {
        if (this.pipeline == null) {
            throw new IllegalStateException("Action cannot be installed without having a pipeline.");
        }

        Action action = this.componentProvider.createAction(type);
        this.actions.add(action);
    }
View Full Code Here


        if (actionClass == null) {
            throw new IllegalArgumentException("Action type '" + type + "' is not supported.");
        }

        try {
            Action action = actionClass.newInstance();
            return action;
        } catch (Exception e) {
            throw new IllegalArgumentException("An action of type '" + type + "' could not be created.", e);
        }
    }
View Full Code Here

    public void installAction(String type) {
        if (this.pipeline == null) {
            throw new IllegalStateException("Action cannot be installed without having a pipeline.");
        }

        Action action = this.componentProvider.createAction(type);
        this.actions.add(action);
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.sitemap.action.Action

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.