001    /*
002     * XML Type:  web-service-bindingType
003     * Namespace: http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0
004     * Java type: org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.openejb.xbeans.ejbjar;
009    
010    
011    /**
012     * An XML web-service-bindingType(@http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0).
013     *
014     * This is a complex type.
015     */
016    public interface OpenejbWebServiceBindingType 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(OpenejbWebServiceBindingType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8AF8E0CE57F2BB021E91A9ABBD290FAF").resolveHandle("webservicebindingtype98a7type");
020        
021        /**
022         * Gets the "ejb-name" element
023         */
024        java.lang.String getEjbName();
025        
026        /**
027         * Gets (as xml) the "ejb-name" element
028         */
029        org.apache.xmlbeans.XmlString xgetEjbName();
030        
031        /**
032         * Sets the "ejb-name" element
033         */
034        void setEjbName(java.lang.String ejbName);
035        
036        /**
037         * Sets (as xml) the "ejb-name" element
038         */
039        void xsetEjbName(org.apache.xmlbeans.XmlString ejbName);
040        
041        /**
042         * Gets the "web-service-address" element
043         */
044        java.lang.String getWebServiceAddress();
045        
046        /**
047         * Gets (as xml) the "web-service-address" element
048         */
049        org.apache.xmlbeans.XmlString xgetWebServiceAddress();
050        
051        /**
052         * True if has "web-service-address" element
053         */
054        boolean isSetWebServiceAddress();
055        
056        /**
057         * Sets the "web-service-address" element
058         */
059        void setWebServiceAddress(java.lang.String webServiceAddress);
060        
061        /**
062         * Sets (as xml) the "web-service-address" element
063         */
064        void xsetWebServiceAddress(org.apache.xmlbeans.XmlString webServiceAddress);
065        
066        /**
067         * Unsets the "web-service-address" element
068         */
069        void unsetWebServiceAddress();
070        
071        /**
072         * Gets array of all "web-service-virtual-host" elements
073         */
074        java.lang.String[] getWebServiceVirtualHostArray();
075        
076        /**
077         * Gets ith "web-service-virtual-host" element
078         */
079        java.lang.String getWebServiceVirtualHostArray(int i);
080        
081        /**
082         * Gets (as xml) array of all "web-service-virtual-host" elements
083         */
084        org.apache.xmlbeans.XmlString[] xgetWebServiceVirtualHostArray();
085        
086        /**
087         * Gets (as xml) ith "web-service-virtual-host" element
088         */
089        org.apache.xmlbeans.XmlString xgetWebServiceVirtualHostArray(int i);
090        
091        /**
092         * Returns number of "web-service-virtual-host" element
093         */
094        int sizeOfWebServiceVirtualHostArray();
095        
096        /**
097         * Sets array of all "web-service-virtual-host" element
098         */
099        void setWebServiceVirtualHostArray(java.lang.String[] webServiceVirtualHostArray);
100        
101        /**
102         * Sets ith "web-service-virtual-host" element
103         */
104        void setWebServiceVirtualHostArray(int i, java.lang.String webServiceVirtualHost);
105        
106        /**
107         * Sets (as xml) array of all "web-service-virtual-host" element
108         */
109        void xsetWebServiceVirtualHostArray(org.apache.xmlbeans.XmlString[] webServiceVirtualHostArray);
110        
111        /**
112         * Sets (as xml) ith "web-service-virtual-host" element
113         */
114        void xsetWebServiceVirtualHostArray(int i, org.apache.xmlbeans.XmlString webServiceVirtualHost);
115        
116        /**
117         * Inserts the value as the ith "web-service-virtual-host" element
118         */
119        void insertWebServiceVirtualHost(int i, java.lang.String webServiceVirtualHost);
120        
121        /**
122         * Appends the value as the last "web-service-virtual-host" element
123         */
124        void addWebServiceVirtualHost(java.lang.String webServiceVirtualHost);
125        
126        /**
127         * Inserts and returns a new empty value (as xml) as the ith "web-service-virtual-host" element
128         */
129        org.apache.xmlbeans.XmlString insertNewWebServiceVirtualHost(int i);
130        
131        /**
132         * Appends and returns a new empty value (as xml) as the last "web-service-virtual-host" element
133         */
134        org.apache.xmlbeans.XmlString addNewWebServiceVirtualHost();
135        
136        /**
137         * Removes the ith "web-service-virtual-host" element
138         */
139        void removeWebServiceVirtualHost(int i);
140        
141        /**
142         * Gets the "web-service-security" element
143         */
144        org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceSecurityType getWebServiceSecurity();
145        
146        /**
147         * True if has "web-service-security" element
148         */
149        boolean isSetWebServiceSecurity();
150        
151        /**
152         * Sets the "web-service-security" element
153         */
154        void setWebServiceSecurity(org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceSecurityType webServiceSecurity);
155        
156        /**
157         * Appends and returns a new empty "web-service-security" element
158         */
159        org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceSecurityType addNewWebServiceSecurity();
160        
161        /**
162         * Unsets the "web-service-security" element
163         */
164        void unsetWebServiceSecurity();
165        
166        /**
167         * A factory class with static methods for creating instances
168         * of this type.
169         */
170        
171        public static final class Factory
172        {
173            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType newInstance() {
174              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
175            
176            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType newInstance(org.apache.xmlbeans.XmlOptions options) {
177              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
178            
179            /** @param xmlAsString the string value to parse */
180            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
181              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
182            
183            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
184              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
185            
186            /** @param file the file from which to load an xml document */
187            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
188              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
189            
190            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
191              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
192            
193            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
194              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
195            
196            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
197              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
198            
199            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
200              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
201            
202            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
203              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
204            
205            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
206              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
207            
208            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
209              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
210            
211            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
212              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
213            
214            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
215              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
216            
217            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
218              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
219            
220            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
221              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
222            
223            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
224            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
225              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
226            
227            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
228            public static org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
229              return (org.apache.geronimo.openejb.xbeans.ejbjar.OpenejbWebServiceBindingType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
230            
231            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
232            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 {
233              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
234            
235            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
236            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 {
237              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
238            
239            private Factory() { } // No instance of this class allowed
240        }
241    }