org.apache.cocoon.maven.deployer
Class WebXmlRewriter

java.lang.Object
  extended by org.apache.cocoon.maven.deployer.WebXmlRewriter

public class WebXmlRewriter
extends Object

Version:
$Id: WebXmlRewriter.html 1351235 2012-06-18 08:41:39Z ilgrosso $

Constructor Summary
WebXmlRewriter(String servletClass, String listenerClass, String filterClass, boolean useShieldingRepository)
           
 
Method Summary
protected static void addContextParameter(Element root, String name, String value)
           
protected static boolean removeContextParameter(Element root, String name)
           
 boolean rewrite(Document webAppDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXmlRewriter

public WebXmlRewriter(String servletClass,
                      String listenerClass,
                      String filterClass,
                      boolean useShieldingRepository)
Method Detail

rewrite

public boolean rewrite(Document webAppDoc)

removeContextParameter

protected static boolean removeContextParameter(Element root,
                                                String name)

addContextParameter

protected static void addContextParameter(Element root,
                                          String name,
                                          String value)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.