org.apache.geronimo.openejb.deployment
Class XmlUtil

java.lang.Object
  extended by org.apache.geronimo.openejb.deployment.XmlUtil

public final class XmlUtil
extends Object


Nested Class Summary
static class XmlUtil.ValidationEventHandler
           
 
Field Summary
static QName OPENEJBJAR_QNAME
           
 
Method Summary
static Environment buildEnvironment(org.apache.openejb.jee.oejb2.EnvironmentType environmentType, Environment defaultEnvironment)
           
static org.apache.geronimo.xbeans.javaee.EjbJarDocument convertToEJBSchema(org.apache.xmlbeans.XmlObject xmlObject)
           
static org.apache.geronimo.xbeans.javaee.EjbJarType convertToXmlbeans(org.apache.openejb.jee.EjbJar ejbJar)
           
static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbGeronimoEjbJarType convertToXmlbeans(org.apache.openejb.jee.oejb2.GeronimoEjbJarType geronimoEjbJarType)
           
static org.apache.openejb.jee.oejb2.GeronimoEjbJarType createDefaultPlan(String name, org.apache.openejb.jee.EjbJar ejbJar)
           
static String getJ2eeStringValue(org.apache.geronimo.xbeans.javaee.String string)
           
static
<T> String
marshal(T object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENEJBJAR_QNAME

public static final QName OPENEJBJAR_QNAME
Method Detail

marshal

public static <T> String marshal(T object)
                      throws DeploymentException
Throws:
DeploymentException

convertToXmlbeans

public static org.apache.geronimo.xbeans.javaee.EjbJarType convertToXmlbeans(org.apache.openejb.jee.EjbJar ejbJar)
                                                                      throws DeploymentException
Throws:
DeploymentException

convertToXmlbeans

public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbGeronimoEjbJarType convertToXmlbeans(org.apache.openejb.jee.oejb2.GeronimoEjbJarType geronimoEjbJarType)
                                                                                             throws DeploymentException
Throws:
DeploymentException

buildEnvironment

public static Environment buildEnvironment(org.apache.openejb.jee.oejb2.EnvironmentType environmentType,
                                           Environment defaultEnvironment)

createDefaultPlan

public static org.apache.openejb.jee.oejb2.GeronimoEjbJarType createDefaultPlan(String name,
                                                                                org.apache.openejb.jee.EjbJar ejbJar)

getJ2eeStringValue

public static String getJ2eeStringValue(org.apache.geronimo.xbeans.javaee.String string)

convertToEJBSchema

public static org.apache.geronimo.xbeans.javaee.EjbJarDocument convertToEJBSchema(org.apache.xmlbeans.XmlObject xmlObject)
                                                                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.