001    /*
002     * XML Type:  tomcat-configType
003     * Namespace: http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0
004     * Java type: org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.web.tomcat.config;
009    
010    
011    /**
012     * An XML tomcat-configType(@http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0).
013     *
014     * This is a complex type.
015     */
016    public interface GerTomcatConfigType 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(GerTomcatConfigType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s0FDBAD23AB7CAC110E46D555094AA20E").resolveHandle("tomcatconfigtypecd89type");
020        
021        /**
022         * Gets the "host" element
023         */
024        java.lang.String getHost();
025        
026        /**
027         * Gets (as xml) the "host" element
028         */
029        org.apache.xmlbeans.XmlString xgetHost();
030        
031        /**
032         * True if has "host" element
033         */
034        boolean isSetHost();
035        
036        /**
037         * Sets the "host" element
038         */
039        void setHost(java.lang.String host);
040        
041        /**
042         * Sets (as xml) the "host" element
043         */
044        void xsetHost(org.apache.xmlbeans.XmlString host);
045        
046        /**
047         * Unsets the "host" element
048         */
049        void unsetHost();
050        
051        /**
052         * Gets the "cross-context" element
053         */
054        org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType getCrossContext();
055        
056        /**
057         * True if has "cross-context" element
058         */
059        boolean isSetCrossContext();
060        
061        /**
062         * Sets the "cross-context" element
063         */
064        void setCrossContext(org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType crossContext);
065        
066        /**
067         * Appends and returns a new empty "cross-context" element
068         */
069        org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType addNewCrossContext();
070        
071        /**
072         * Unsets the "cross-context" element
073         */
074        void unsetCrossContext();
075        
076        /**
077         * Gets the "disable-cookies" element
078         */
079        org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType getDisableCookies();
080        
081        /**
082         * True if has "disable-cookies" element
083         */
084        boolean isSetDisableCookies();
085        
086        /**
087         * Sets the "disable-cookies" element
088         */
089        void setDisableCookies(org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType disableCookies);
090        
091        /**
092         * Appends and returns a new empty "disable-cookies" element
093         */
094        org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerEmptyType addNewDisableCookies();
095        
096        /**
097         * Unsets the "disable-cookies" element
098         */
099        void unsetDisableCookies();
100        
101        /**
102         * Gets the "valve-chain" element
103         */
104        java.lang.String getValveChain();
105        
106        /**
107         * Gets (as xml) the "valve-chain" element
108         */
109        org.apache.xmlbeans.XmlString xgetValveChain();
110        
111        /**
112         * True if has "valve-chain" element
113         */
114        boolean isSetValveChain();
115        
116        /**
117         * Sets the "valve-chain" element
118         */
119        void setValveChain(java.lang.String valveChain);
120        
121        /**
122         * Sets (as xml) the "valve-chain" element
123         */
124        void xsetValveChain(org.apache.xmlbeans.XmlString valveChain);
125        
126        /**
127         * Unsets the "valve-chain" element
128         */
129        void unsetValveChain();
130        
131        /**
132         * Gets the "listener-chain" element
133         */
134        java.lang.String getListenerChain();
135        
136        /**
137         * Gets (as xml) the "listener-chain" element
138         */
139        org.apache.xmlbeans.XmlString xgetListenerChain();
140        
141        /**
142         * True if has "listener-chain" element
143         */
144        boolean isSetListenerChain();
145        
146        /**
147         * Sets the "listener-chain" element
148         */
149        void setListenerChain(java.lang.String listenerChain);
150        
151        /**
152         * Sets (as xml) the "listener-chain" element
153         */
154        void xsetListenerChain(org.apache.xmlbeans.XmlString listenerChain);
155        
156        /**
157         * Unsets the "listener-chain" element
158         */
159        void unsetListenerChain();
160        
161        /**
162         * Gets the "tomcat-realm" element
163         */
164        java.lang.String getTomcatRealm();
165        
166        /**
167         * Gets (as xml) the "tomcat-realm" element
168         */
169        org.apache.xmlbeans.XmlString xgetTomcatRealm();
170        
171        /**
172         * True if has "tomcat-realm" element
173         */
174        boolean isSetTomcatRealm();
175        
176        /**
177         * Sets the "tomcat-realm" element
178         */
179        void setTomcatRealm(java.lang.String tomcatRealm);
180        
181        /**
182         * Sets (as xml) the "tomcat-realm" element
183         */
184        void xsetTomcatRealm(org.apache.xmlbeans.XmlString tomcatRealm);
185        
186        /**
187         * Unsets the "tomcat-realm" element
188         */
189        void unsetTomcatRealm();
190        
191        /**
192         * Gets the "manager" element
193         */
194        java.lang.String getManager();
195        
196        /**
197         * Gets (as xml) the "manager" element
198         */
199        org.apache.xmlbeans.XmlString xgetManager();
200        
201        /**
202         * True if has "manager" element
203         */
204        boolean isSetManager();
205        
206        /**
207         * Sets the "manager" element
208         */
209        void setManager(java.lang.String manager);
210        
211        /**
212         * Sets (as xml) the "manager" element
213         */
214        void xsetManager(org.apache.xmlbeans.XmlString manager);
215        
216        /**
217         * Unsets the "manager" element
218         */
219        void unsetManager();
220        
221        /**
222         * Gets the "cluster" element
223         */
224        java.lang.String getCluster();
225        
226        /**
227         * Gets (as xml) the "cluster" element
228         */
229        org.apache.xmlbeans.XmlString xgetCluster();
230        
231        /**
232         * True if has "cluster" element
233         */
234        boolean isSetCluster();
235        
236        /**
237         * Sets the "cluster" element
238         */
239        void setCluster(java.lang.String cluster);
240        
241        /**
242         * Sets (as xml) the "cluster" element
243         */
244        void xsetCluster(org.apache.xmlbeans.XmlString cluster);
245        
246        /**
247         * Unsets the "cluster" element
248         */
249        void unsetCluster();
250        
251        /**
252         * A factory class with static methods for creating instances
253         * of this type.
254         */
255        
256        public static final class Factory
257        {
258            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType newInstance() {
259              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
260            
261            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType newInstance(org.apache.xmlbeans.XmlOptions options) {
262              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
263            
264            /** @param xmlAsString the string value to parse */
265            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
266              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
267            
268            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
269              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
270            
271            /** @param file the file from which to load an xml document */
272            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
273              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
274            
275            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
276              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
277            
278            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
279              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
280            
281            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
282              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
283            
284            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
285              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
286            
287            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
288              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
289            
290            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
291              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
292            
293            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
294              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
295            
296            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
297              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
298            
299            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
300              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
301            
302            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
303              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
304            
305            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
306              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
307            
308            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
309            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
310              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
311            
312            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
313            public static org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
314              return (org.apache.geronimo.xbeans.geronimo.web.tomcat.config.GerTomcatConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
315            
316            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
317            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 {
318              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
319            
320            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
321            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 {
322              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
323            
324            private Factory() { } // No instance of this class allowed
325        }
326    }