org.soybeanMilk.web.config.parser
类 WebConfigurationParser

java.lang.Object
  继承者 org.soybeanMilk.core.config.parser.ConfigurationParser
      继承者 org.soybeanMilk.web.config.parser.WebConfigurationParser

public class WebConfigurationParser
extends ConfigurationParser

WEB解析器,它可以解析类路径资源文件和应用“/WEB-INF”下的配置文件。

作者:
earthAngry@gmail.com

构造方法摘要
WebConfigurationParser(javax.servlet.ServletContext servletContext)
          创建WEB解析器
WebConfigurationParser(WebConfiguration webConfiguration, javax.servlet.ServletContext servletContext)
          创建WEB解析器并预设存储配置对象
 
方法摘要
 javax.servlet.ServletContext getServletContext()
           
 WebConfiguration getWebConfiguration()
          获取解析结果
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
从类 org.soybeanMilk.core.config.parser.ConfigurationParser 继承的方法
getConfiguration, getDocument, getModules, parse, parse, parse, parse, setConfiguration, setDocument, setModules
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

WebConfigurationParser

public WebConfigurationParser(javax.servlet.ServletContext servletContext)
创建WEB解析器

参数:
servletContext -

WebConfigurationParser

public WebConfigurationParser(WebConfiguration webConfiguration,
                              javax.servlet.ServletContext servletContext)
创建WEB解析器并预设存储配置对象

参数:
webConfiguration -
servletContext -
方法详细信息

getServletContext

public javax.servlet.ServletContext getServletContext()

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)

getWebConfiguration

public WebConfiguration getWebConfiguration()
获取解析结果

返回: