public final class WebFragmentProvider extends Object
WebFragment
.Modifier and Type | Method and Description |
---|---|
static WebFragmentProvider |
getDefault() |
WebFragment |
getWebFragmentRoot(FileObject fo)
Gets the root bean graph representing the given web-fragment.xml deployment descriptor
file.
|
public static WebFragmentProvider getDefault()
public WebFragment getWebFragmentRoot(FileObject fo) throws IOException, FileNotFoundException
fo
- the file object representing a web.xml file. Must not be null.WebFragment
representing the given fo
.IOException
- if the given fo
could not be read
or if parsing it failed.FileNotFoundException