Modifier and Type | Method and Description |
---|---|
org.netbeans.modules.schema2beans.BaseBean |
getBaseBean(CommonDDBean bean)
Convenient method for getting the BaseBean object from CommonDDBean object
|
EjbJar |
getDDRoot(FileObject fo)
Returns the root of deployment descriptor bean graph for given file object.
|
EjbJar |
getDDRoot(InputSource inputSource)
Returns the root of deployment descriptor bean graph for java.io.File object.
|
EjbJar |
getDDRootCopy(FileObject fo)
Returns the root of deployment descriptor bean graph for given file object.
|
static DDProvider |
getDefault()
Accessor method for DDProvider singleton
|
public static DDProvider getDefault()
public EjbJar getDDRoot(FileObject fo) throws IOException
fo
- FileObject representing the ejb-jar.xml fileIOException
public EjbJar getDDRootCopy(FileObject fo) throws IOException
RootInterface.write(org.openide.filesystems.FileObject)
should be used
for writing the changes.fo
- FileObject representing the ejb-jar.xml fileIOException
public EjbJar getDDRoot(InputSource inputSource) throws IOException, SAXException
inputSource
- source representing the ejb-jar.xml fileIOException
SAXException
public org.netbeans.modules.schema2beans.BaseBean getBaseBean(CommonDDBean bean)
bean
-