org.objectweb.jonas_ejb.deployment.xml
Class EjbJarUnmarshaller
java.lang.Object
|
+--org.objectweb.jonas_ejb.deployment.xml.EjbJarUnmarshaller
- public class EjbJarUnmarshaller
- extends java.lang.Object
Method Summary |
static void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
This sets a SAX EntityResolver for this unmarshalling process. |
static void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
This sets a SAX ErrorHandler for this unmarshalling process. |
static EjbJar |
unmarshal(java.io.File file)
|
static EjbJar |
unmarshal(java.io.File file,
boolean validate)
|
static EjbJar |
unmarshal(java.io.InputStream inputStream)
|
static EjbJar |
unmarshal(java.io.InputStream inputStream,
boolean validate)
|
static EjbJar |
unmarshal(java.io.Reader reader)
|
static EjbJar |
unmarshal(java.io.Reader reader,
boolean validate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbJarUnmarshaller
public EjbJarUnmarshaller()
setEntityResolver
public static void setEntityResolver(org.xml.sax.EntityResolver resolver)
This sets a SAX EntityResolver
for this unmarshalling process.
- Parameters:
resolver
- the entity resolver to use.
setErrorHandler
public static void setErrorHandler(org.xml.sax.ErrorHandler handler)
This sets a SAX ErrorHandler
for this unmarshalling process.
- Parameters:
handler
- the error handler to use.
unmarshal
public static EjbJar unmarshal(java.io.File file)
throws java.io.IOException
unmarshal
public static EjbJar unmarshal(java.io.File file,
boolean validate)
throws java.io.IOException
unmarshal
public static EjbJar unmarshal(java.io.InputStream inputStream)
throws java.io.IOException
unmarshal
public static EjbJar unmarshal(java.io.InputStream inputStream,
boolean validate)
throws java.io.IOException
unmarshal
public static EjbJar unmarshal(java.io.Reader reader)
throws java.io.IOException
unmarshal
public static EjbJar unmarshal(java.io.Reader reader,
boolean validate)
throws java.io.IOException