org.apache.geronimo.openejb.deployment
Class XmlUtil
java.lang.Object
org.apache.geronimo.openejb.deployment.XmlUtil
public final class XmlUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPENEJBJAR_QNAME
public static final QName OPENEJBJAR_QNAME
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 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-2008 The Apache Geronimo development community. All Rights Reserved.