|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.j2ee.dd.api.web.DDProvider
public final class DDProvider
Provides access to Deployment Descriptor root (WebApp object)
| Method Summary | |
|---|---|
org.netbeans.modules.schema2beans.BaseBean |
getBaseBean(CommonDDBean bean)
Deprecated. do not use - temporary workaround that exposes the schema2beans implementation |
WebApp |
getDDRoot(File f)
Returns the root of deployment descriptor bean graph for java.io.File object. |
WebApp |
getDDRoot(FileObject fo)
Gets the root bean graph representing the given web.xml deployment descriptor file. |
WebApp |
getDDRootCopy(FileObject fo)
Returns the root of deployment descriptor bean graph for given file object. |
static DDProvider |
getDefault()
Accessor method for DDProvider singleton |
SAXParseException |
parse(FileObject fo)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DDProvider getDefault()
public WebApp getDDRoot(FileObject fo)
throws IOException
fo - the file object representing a web.xml file. Must not be null.
WebApp representing the given fo.
IOException - if the given fo could not be read
or if parsing it failed.
public WebApp getDDRootCopy(FileObject fo)
throws IOException
RootInterface.write(org.openide.filesystems.FileObject) should be used
for writing the changes.
fo - FileObject representing the web.xml file
IOException
public WebApp getDDRoot(File f)
throws IOException,
SAXException
f - File representing the web.xml file
IOException
SAXExceptionpublic org.netbeans.modules.schema2beans.BaseBean getBaseBean(CommonDDBean bean)
public SAXParseException parse(FileObject fo)
throws SAXException,
IOException
SAXException
IOException
|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||