com.sun.grizzly.http.webxml.parser
Class JAXBWebXml_2_2Parser

java.lang.Object
  extended by com.sun.grizzly.http.webxml.parser.JAXBWebXml_2_2Parser
All Implemented Interfaces:
IJAXBWebXmlParser

public class JAXBWebXml_2_2Parser
extends Object
implements IJAXBWebXmlParser


Constructor Summary
JAXBWebXml_2_2Parser()
           
 
Method Summary
protected  AuthConstraint getAuthConstraint(AuthConstraint authConstraint)
           
protected  ContextParam getContextParam(ContextParam contextParam)
           
protected  EjbRef getEjbRef(EjbRef ejb)
           
protected  EnvEntry getEnvEntry(EnvEntry envEntry)
           
protected  ErrorPage getErrorPage(ErrorPage errorPage)
           
protected  Icon getIcon(Icon icon)
           
protected  InitParam getInitParam(InitParam initParam)
           
protected  MimeMapping getMimeMapping(MimeMapping mimeMapping)
           
protected  ResourceRef getResourceRef(ResourceRef resourceRef)
           
protected  SecurityConstraint getSecurityConstraint(SecurityConstraint securityConstraint)
           
protected  SecurityRole getSecurityRole(SecurityRole securityRole)
           
protected  SecurityRoleRef getSecurityRoleRef(SecurityRoleRef securityRoleRef)
           
protected  ServletMapping getServletMapping(ServletMapping servletMapping)
           
protected  Taglib getTaglib(Taglib tagLib)
           
protected  WebResourceCollection getWebResourceCollection(WebResourceCollection webResourceCollection)
           
 WebApp parse(String webxml)
          Will parse the web.xml and load the content into a WebApp object
protected  WebApp populate(WebApp root)
           
protected  List<ContextParam> populateContextParam(List<ContextParam> contextParams)
           
protected  List<EjbRef> populateEjbRef(List<EjbRef> ejbRef)
           
protected  List<EnvEntry> populateEnvEntry(List<EnvEntry> envEntry)
           
protected  List<ErrorPage> populateErrorPage(List<ErrorPage> errorPage)
           
protected  List<LoginConfig> populateLoginConfig(LoginConfig loginConfig)
           
protected  List<MimeMapping> populateMimeMapping(List<MimeMapping> mimeMapping)
           
protected  List<ResourceRef> populateResourceRef(List<ResourceRef> resourceRef)
           
protected  List<SecurityConstraint> populateSecurityConstraint(List<SecurityConstraint> securityConstraint)
           
protected  List<SecurityRole> populateSecurityRole(List<SecurityRole> securityRole)
           
protected  List<ServletMapping> populateServletMapping(List<ServletMapping> servletMapping)
           
protected  List<SessionConfig> populateSessionConfig(SessionConfig sessionConfig)
           
protected  List<Taglib> populateTaglib(List<Taglib> taglib)
           
protected  List<WebResourceCollection> populateWebResourceCollection(List<WebResourceCollection> webResourceCollection)
           
protected  List<WelcomeFileList> populateWelcomeFileList(WelcomeFileList welcomeFileList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBWebXml_2_2Parser

public JAXBWebXml_2_2Parser()
Method Detail

parse

public WebApp parse(String webxml)
             throws Exception
Description copied from interface: IJAXBWebXmlParser
Will parse the web.xml and load the content into a WebApp object

Specified by:
parse in interface IJAXBWebXmlParser
Parameters:
webxml - the web.xml to parse
Returns:
WebApp populated
Throws:
Exception

populate

protected WebApp populate(WebApp root)

populateSecurityConstraint

protected List<SecurityConstraint> populateSecurityConstraint(List<SecurityConstraint> securityConstraint)

getSecurityConstraint

protected SecurityConstraint getSecurityConstraint(SecurityConstraint securityConstraint)

populateLoginConfig

protected List<LoginConfig> populateLoginConfig(LoginConfig loginConfig)

populateEnvEntry

protected List<EnvEntry> populateEnvEntry(List<EnvEntry> envEntry)

getInitParam

protected InitParam getInitParam(InitParam initParam)

getSecurityRoleRef

protected SecurityRoleRef getSecurityRoleRef(SecurityRoleRef securityRoleRef)

getIcon

protected Icon getIcon(Icon icon)

populateEjbRef

protected List<EjbRef> populateEjbRef(List<EjbRef> ejbRef)

getEjbRef

protected EjbRef getEjbRef(EjbRef ejb)

getEnvEntry

protected EnvEntry getEnvEntry(EnvEntry envEntry)

getErrorPage

protected ErrorPage getErrorPage(ErrorPage errorPage)

populateErrorPage

protected List<ErrorPage> populateErrorPage(List<ErrorPage> errorPage)

populateMimeMapping

protected List<MimeMapping> populateMimeMapping(List<MimeMapping> mimeMapping)

getMimeMapping

protected MimeMapping getMimeMapping(MimeMapping mimeMapping)

getResourceRef

protected ResourceRef getResourceRef(ResourceRef resourceRef)

getAuthConstraint

protected AuthConstraint getAuthConstraint(AuthConstraint authConstraint)

populateServletMapping

protected List<ServletMapping> populateServletMapping(List<ServletMapping> servletMapping)

getWebResourceCollection

protected WebResourceCollection getWebResourceCollection(WebResourceCollection webResourceCollection)

populateSessionConfig

protected List<SessionConfig> populateSessionConfig(SessionConfig sessionConfig)

getServletMapping

protected ServletMapping getServletMapping(ServletMapping servletMapping)

populateTaglib

protected List<Taglib> populateTaglib(List<Taglib> taglib)

populateWebResourceCollection

protected List<WebResourceCollection> populateWebResourceCollection(List<WebResourceCollection> webResourceCollection)

getSecurityRole

protected SecurityRole getSecurityRole(SecurityRole securityRole)

getTaglib

protected Taglib getTaglib(Taglib tagLib)

populateSecurityRole

protected List<SecurityRole> populateSecurityRole(List<SecurityRole> securityRole)

populateResourceRef

protected List<ResourceRef> populateResourceRef(List<ResourceRef> resourceRef)

getContextParam

protected ContextParam getContextParam(ContextParam contextParam)

populateWelcomeFileList

protected List<WelcomeFileList> populateWelcomeFileList(WelcomeFileList welcomeFileList)

populateContextParam

protected List<ContextParam> populateContextParam(List<ContextParam> contextParams)


Copyright © 2012 Oracle Corporation. All Rights Reserved.