org.apache.myfaces.shared.webapp.webxml
Class WebXml

java.lang.Object
  extended by org.apache.myfaces.shared.webapp.webxml.WebXml

public class WebXml
extends java.lang.Object

Version:
$Revision: 1031726 $ $Date: 2010-11-05 14:15:42 -0500 (Fri, 05 Nov 2010) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Constructor Summary
WebXml()
           
 
Method Summary
 java.util.List getFacesExtensionsFilterMappings()
          returns a list of #org.apache.myfaces.shared.webapp.webxml.FilterMappings representing a extensions filter entry
 java.util.List getFacesServletMappings()
           
static WebXml getWebXml(javax.faces.context.ExternalContext context)
           
static void init(javax.faces.context.ExternalContext context)
          should be called when initialising Servlet
 boolean isErrorPagePresent()
          Determines, if the web.xml contains an error-page entry
protected  boolean isOld(javax.faces.context.ExternalContext context)
           
 void setErrorPagePresent(boolean errorPagePresent)
          Sets if, the web.xml contains an error-page entry
protected  void setParsingTime(long parsingTime)
           
static void update(javax.faces.context.ExternalContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXml

public WebXml()
Method Detail

getFacesServletMappings

public java.util.List getFacesServletMappings()

getFacesExtensionsFilterMappings

public java.util.List getFacesExtensionsFilterMappings()
returns a list of #org.apache.myfaces.shared.webapp.webxml.FilterMappings representing a extensions filter entry


setParsingTime

protected void setParsingTime(long parsingTime)

setErrorPagePresent

public void setErrorPagePresent(boolean errorPagePresent)
Sets if, the web.xml contains an error-page entry

Parameters:
errorPagePresent -

isErrorPagePresent

public boolean isErrorPagePresent()
Determines, if the web.xml contains an error-page entry

Returns:

isOld

protected boolean isOld(javax.faces.context.ExternalContext context)

getWebXml

public static WebXml getWebXml(javax.faces.context.ExternalContext context)

init

public static void init(javax.faces.context.ExternalContext context)
should be called when initialising Servlet

Parameters:
context -

update

public static void update(javax.faces.context.ExternalContext context)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.