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

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

public class JAXBWebXml_2_5Parser
extends Object
implements IJAXBWebXmlParser


Constructor Summary
JAXBWebXml_2_5Parser()
           
 
Method Summary
protected  Map<String,List<JAXBElement<?>>> getItemMap(List<JAXBElement<?>> itemList)
           
 WebApp parse(String webxml)
          Will parse the web.xml and load the content into a WebApp object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBWebXml_2_5Parser

public JAXBWebXml_2_5Parser()
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

getItemMap

protected Map<String,List<JAXBElement<?>>> getItemMap(List<JAXBElement<?>> itemList)
                                               throws Exception
Throws:
Exception


Copyright © 2012 Oracle Corporation. All Rights Reserved.