001 /* 002 * XML Type: moduleType 003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/application-2.0 004 * Java type: org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.j2ee; 009 010 011 /** 012 * An XML moduleType(@http://geronimo.apache.org/xml/ns/j2ee/application-2.0). 013 * 014 * This is a complex type. 015 */ 016 public interface GerModuleType extends org.apache.xmlbeans.XmlObject 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerModuleType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s2769DD7041FA7A7F08AC25A8C20EE434").resolveHandle("moduletype89ectype"); 020 021 /** 022 * Gets the "connector" element 023 */ 024 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType getConnector(); 025 026 /** 027 * True if has "connector" element 028 */ 029 boolean isSetConnector(); 030 031 /** 032 * Sets the "connector" element 033 */ 034 void setConnector(org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType connector); 035 036 /** 037 * Appends and returns a new empty "connector" element 038 */ 039 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType addNewConnector(); 040 041 /** 042 * Unsets the "connector" element 043 */ 044 void unsetConnector(); 045 046 /** 047 * Gets the "ejb" element 048 */ 049 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType getEjb(); 050 051 /** 052 * True if has "ejb" element 053 */ 054 boolean isSetEjb(); 055 056 /** 057 * Sets the "ejb" element 058 */ 059 void setEjb(org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType ejb); 060 061 /** 062 * Appends and returns a new empty "ejb" element 063 */ 064 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType addNewEjb(); 065 066 /** 067 * Unsets the "ejb" element 068 */ 069 void unsetEjb(); 070 071 /** 072 * Gets the "java" element 073 */ 074 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType getJava(); 075 076 /** 077 * True if has "java" element 078 */ 079 boolean isSetJava(); 080 081 /** 082 * Sets the "java" element 083 */ 084 void setJava(org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType java); 085 086 /** 087 * Appends and returns a new empty "java" element 088 */ 089 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType addNewJava(); 090 091 /** 092 * Unsets the "java" element 093 */ 094 void unsetJava(); 095 096 /** 097 * Gets the "web" element 098 */ 099 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType getWeb(); 100 101 /** 102 * True if has "web" element 103 */ 104 boolean isSetWeb(); 105 106 /** 107 * Sets the "web" element 108 */ 109 void setWeb(org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType web); 110 111 /** 112 * Appends and returns a new empty "web" element 113 */ 114 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType addNewWeb(); 115 116 /** 117 * Unsets the "web" element 118 */ 119 void unsetWeb(); 120 121 /** 122 * Gets the "alt-dd" element 123 */ 124 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType getAltDd(); 125 126 /** 127 * True if has "alt-dd" element 128 */ 129 boolean isSetAltDd(); 130 131 /** 132 * Sets the "alt-dd" element 133 */ 134 void setAltDd(org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType altDd); 135 136 /** 137 * Appends and returns a new empty "alt-dd" element 138 */ 139 org.apache.geronimo.xbeans.geronimo.j2ee.GerPathType addNewAltDd(); 140 141 /** 142 * Unsets the "alt-dd" element 143 */ 144 void unsetAltDd(); 145 146 /** 147 * A factory class with static methods for creating instances 148 * of this type. 149 */ 150 151 public static final class Factory 152 { 153 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType newInstance() { 154 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 155 156 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType newInstance(org.apache.xmlbeans.XmlOptions options) { 157 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 158 159 /** @param xmlAsString the string value to parse */ 160 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 161 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 162 163 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 164 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 165 166 /** @param file the file from which to load an xml document */ 167 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 168 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 169 170 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 171 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 172 173 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 174 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 175 176 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 177 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 178 179 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 180 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 181 182 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 183 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 184 185 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 186 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 187 188 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 189 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 190 191 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 192 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 193 194 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 195 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 196 197 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 198 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 199 200 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 201 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 202 203 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 204 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 205 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 206 207 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 208 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 209 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 210 211 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 212 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 { 213 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 214 215 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 216 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 { 217 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 218 219 private Factory() { } // No instance of this class allowed 220 } 221 }