001 /* 002 * An XML document type. 003 * Localname: ejb-jar 004 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0 005 * Java type: org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009 package org.apache.geronimo.openejb.xbeans.ejbjar; 010 011 012 /** 013 * A document containing one ejb-jar(@http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0) element. 014 * 015 * This is a complex type. 016 */ 017 public interface OpenejbEjbJarDocument extends org.apache.xmlbeans.XmlObject 018 { 019 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 020 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(OpenejbEjbJarDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8AF8E0CE57F2BB021E91A9ABBD290FAF").resolveHandle("ejbjara7badoctype"); 021 022 /** 023 * Gets the "ejb-jar" element 024 */ 025 org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbGeronimoEjbJarType getEjbJar(); 026 027 /** 028 * Sets the "ejb-jar" element 029 */ 030 void setEjbJar(org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbGeronimoEjbJarType ejbJar); 031 032 /** 033 * Appends and returns a new empty "ejb-jar" element 034 */ 035 org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbGeronimoEjbJarType addNewEjbJar(); 036 037 /** 038 * A factory class with static methods for creating instances 039 * of this type. 040 */ 041 042 public static final class Factory 043 { 044 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument newInstance() { 045 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 046 047 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 048 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 049 050 /** @param xmlAsString the string value to parse */ 051 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 052 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 053 054 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 055 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 056 057 /** @param file the file from which to load an xml document */ 058 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 059 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 060 061 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 062 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 063 064 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 065 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 066 067 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 068 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 069 070 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 071 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 072 073 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 074 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 075 076 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 077 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 078 079 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 080 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 081 082 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 083 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 084 085 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 086 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 087 088 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 089 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 090 091 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 092 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 093 094 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 095 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 096 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 097 098 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 099 public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 100 return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbEjbJarDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 101 102 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 103 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 104 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 105 106 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 107 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 108 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 109 110 private Factory() { } // No instance of this class allowed 111 } 112 }