001 /*
002 * XML Type: jetty-configType
003 * Namespace: http://geronimo.apache.org/xml/ns/web/jetty/config-1.0.1
004 * Java type: org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.web.jetty.config;
009
010
011 /**
012 * An XML jetty-configType(@http://geronimo.apache.org/xml/ns/web/jetty/config-1.0.1).
013 *
014 * This is a complex type.
015 */
016 public interface GerJettyConfigType 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(GerJettyConfigType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s55B3A81C3FBC68963B9A8C93514DBE4E").resolveHandle("jettyconfigtypee0aetype");
020
021 /**
022 * Gets array of all "host" elements
023 */
024 java.lang.String[] getHostArray();
025
026 /**
027 * Gets ith "host" element
028 */
029 java.lang.String getHostArray(int i);
030
031 /**
032 * Gets (as xml) array of all "host" elements
033 */
034 org.apache.xmlbeans.XmlString[] xgetHostArray();
035
036 /**
037 * Gets (as xml) ith "host" element
038 */
039 org.apache.xmlbeans.XmlString xgetHostArray(int i);
040
041 /**
042 * Returns number of "host" element
043 */
044 int sizeOfHostArray();
045
046 /**
047 * Sets array of all "host" element
048 */
049 void setHostArray(java.lang.String[] hostArray);
050
051 /**
052 * Sets ith "host" element
053 */
054 void setHostArray(int i, java.lang.String host);
055
056 /**
057 * Sets (as xml) array of all "host" element
058 */
059 void xsetHostArray(org.apache.xmlbeans.XmlString[] hostArray);
060
061 /**
062 * Sets (as xml) ith "host" element
063 */
064 void xsetHostArray(int i, org.apache.xmlbeans.XmlString host);
065
066 /**
067 * Inserts the value as the ith "host" element
068 */
069 void insertHost(int i, java.lang.String host);
070
071 /**
072 * Appends the value as the last "host" element
073 */
074 void addHost(java.lang.String host);
075
076 /**
077 * Inserts and returns a new empty value (as xml) as the ith "host" element
078 */
079 org.apache.xmlbeans.XmlString insertNewHost(int i);
080
081 /**
082 * Appends and returns a new empty value (as xml) as the last "host" element
083 */
084 org.apache.xmlbeans.XmlString addNewHost();
085
086 /**
087 * Removes the ith "host" element
088 */
089 void removeHost(int i);
090
091 /**
092 * Gets array of all "virtual-host" elements
093 */
094 java.lang.String[] getVirtualHostArray();
095
096 /**
097 * Gets ith "virtual-host" element
098 */
099 java.lang.String getVirtualHostArray(int i);
100
101 /**
102 * Gets (as xml) array of all "virtual-host" elements
103 */
104 org.apache.xmlbeans.XmlString[] xgetVirtualHostArray();
105
106 /**
107 * Gets (as xml) ith "virtual-host" element
108 */
109 org.apache.xmlbeans.XmlString xgetVirtualHostArray(int i);
110
111 /**
112 * Returns number of "virtual-host" element
113 */
114 int sizeOfVirtualHostArray();
115
116 /**
117 * Sets array of all "virtual-host" element
118 */
119 void setVirtualHostArray(java.lang.String[] virtualHostArray);
120
121 /**
122 * Sets ith "virtual-host" element
123 */
124 void setVirtualHostArray(int i, java.lang.String virtualHost);
125
126 /**
127 * Sets (as xml) array of all "virtual-host" element
128 */
129 void xsetVirtualHostArray(org.apache.xmlbeans.XmlString[] virtualHostArray);
130
131 /**
132 * Sets (as xml) ith "virtual-host" element
133 */
134 void xsetVirtualHostArray(int i, org.apache.xmlbeans.XmlString virtualHost);
135
136 /**
137 * Inserts the value as the ith "virtual-host" element
138 */
139 void insertVirtualHost(int i, java.lang.String virtualHost);
140
141 /**
142 * Appends the value as the last "virtual-host" element
143 */
144 void addVirtualHost(java.lang.String virtualHost);
145
146 /**
147 * Inserts and returns a new empty value (as xml) as the ith "virtual-host" element
148 */
149 org.apache.xmlbeans.XmlString insertNewVirtualHost(int i);
150
151 /**
152 * Appends and returns a new empty value (as xml) as the last "virtual-host" element
153 */
154 org.apache.xmlbeans.XmlString addNewVirtualHost();
155
156 /**
157 * Removes the ith "virtual-host" element
158 */
159 void removeVirtualHost(int i);
160
161 /**
162 * Gets the "session-manager" element
163 */
164 java.lang.String getSessionManager();
165
166 /**
167 * Gets (as xml) the "session-manager" element
168 */
169 org.apache.xmlbeans.XmlString xgetSessionManager();
170
171 /**
172 * True if has "session-manager" element
173 */
174 boolean isSetSessionManager();
175
176 /**
177 * Sets the "session-manager" element
178 */
179 void setSessionManager(java.lang.String sessionManager);
180
181 /**
182 * Sets (as xml) the "session-manager" element
183 */
184 void xsetSessionManager(org.apache.xmlbeans.XmlString sessionManager);
185
186 /**
187 * Unsets the "session-manager" element
188 */
189 void unsetSessionManager();
190
191 /**
192 * Gets the "compact-path" element
193 */
194 boolean getCompactPath();
195
196 /**
197 * Gets (as xml) the "compact-path" element
198 */
199 org.apache.xmlbeans.XmlBoolean xgetCompactPath();
200
201 /**
202 * True if has "compact-path" element
203 */
204 boolean isSetCompactPath();
205
206 /**
207 * Sets the "compact-path" element
208 */
209 void setCompactPath(boolean compactPath);
210
211 /**
212 * Sets (as xml) the "compact-path" element
213 */
214 void xsetCompactPath(org.apache.xmlbeans.XmlBoolean compactPath);
215
216 /**
217 * Unsets the "compact-path" element
218 */
219 void unsetCompactPath();
220
221 /**
222 * A factory class with static methods for creating instances
223 * of this type.
224 */
225
226 public static final class Factory
227 {
228 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType newInstance() {
229 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
230
231 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType newInstance(org.apache.xmlbeans.XmlOptions options) {
232 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
233
234 /** @param xmlAsString the string value to parse */
235 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
236 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
237
238 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
239 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
240
241 /** @param file the file from which to load an xml document */
242 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
243 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
244
245 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
246 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
247
248 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
249 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
250
251 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
252 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
253
254 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
255 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
256
257 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
258 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
259
260 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
261 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
262
263 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
264 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
265
266 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
267 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
268
269 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
270 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
271
272 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
273 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
274
275 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
276 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
277
278 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
279 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
280 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
281
282 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
283 public static org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
284 return (org.apache.geronimo.xbeans.geronimo.web.jetty.config.GerJettyConfigType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
285
286 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
287 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 {
288 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
289
290 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
291 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 {
292 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
293
294 private Factory() { } // No instance of this class allowed
295 }
296 }