001 /*
002 * XML Type: securityType
003 * Namespace: http://geronimo.apache.org/xml/ns/security-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.security.GerSecurityType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.security;
009
010
011 /**
012 * An XML securityType(@http://geronimo.apache.org/xml/ns/security-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GerSecurityType extends org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sAC7A4D68E92F83330EB8FF8C7ED832FA.TypeSystemHolder.typeSystem.resolveHandle("securitytype2d70type");
019
020 /**
021 * Gets array of all "description" elements
022 */
023 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] getDescriptionArray();
024
025 /**
026 * Gets ith "description" element
027 */
028 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType getDescriptionArray(int i);
029
030 /**
031 * Returns number of "description" element
032 */
033 int sizeOfDescriptionArray();
034
035 /**
036 * Sets array of all "description" element
037 */
038 void setDescriptionArray(org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] descriptionArray);
039
040 /**
041 * Sets ith "description" element
042 */
043 void setDescriptionArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType description);
044
045 /**
046 * Inserts and returns a new empty value (as xml) as the ith "description" element
047 */
048 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType insertNewDescription(int i);
049
050 /**
051 * Appends and returns a new empty value (as xml) as the last "description" element
052 */
053 org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType addNewDescription();
054
055 /**
056 * Removes the ith "description" element
057 */
058 void removeDescription(int i);
059
060 /**
061 * Gets the "default-principal" element
062 */
063 org.apache.geronimo.xbeans.geronimo.security.GerDefaultPrincipalType getDefaultPrincipal();
064
065 /**
066 * Sets the "default-principal" element
067 */
068 void setDefaultPrincipal(org.apache.geronimo.xbeans.geronimo.security.GerDefaultPrincipalType defaultPrincipal);
069
070 /**
071 * Appends and returns a new empty "default-principal" element
072 */
073 org.apache.geronimo.xbeans.geronimo.security.GerDefaultPrincipalType addNewDefaultPrincipal();
074
075 /**
076 * Gets the "role-mappings" element
077 */
078 org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType getRoleMappings();
079
080 /**
081 * True if has "role-mappings" element
082 */
083 boolean isSetRoleMappings();
084
085 /**
086 * Sets the "role-mappings" element
087 */
088 void setRoleMappings(org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType roleMappings);
089
090 /**
091 * Appends and returns a new empty "role-mappings" element
092 */
093 org.apache.geronimo.xbeans.geronimo.security.GerRoleMappingsType addNewRoleMappings();
094
095 /**
096 * Unsets the "role-mappings" element
097 */
098 void unsetRoleMappings();
099
100 /**
101 * Gets the "doas-current-caller" attribute
102 */
103 boolean getDoasCurrentCaller();
104
105 /**
106 * Gets (as xml) the "doas-current-caller" attribute
107 */
108 org.apache.xmlbeans.XmlBoolean xgetDoasCurrentCaller();
109
110 /**
111 * True if has "doas-current-caller" attribute
112 */
113 boolean isSetDoasCurrentCaller();
114
115 /**
116 * Sets the "doas-current-caller" attribute
117 */
118 void setDoasCurrentCaller(boolean doasCurrentCaller);
119
120 /**
121 * Sets (as xml) the "doas-current-caller" attribute
122 */
123 void xsetDoasCurrentCaller(org.apache.xmlbeans.XmlBoolean doasCurrentCaller);
124
125 /**
126 * Unsets the "doas-current-caller" attribute
127 */
128 void unsetDoasCurrentCaller();
129
130 /**
131 * Gets the "use-context-handler" attribute
132 */
133 boolean getUseContextHandler();
134
135 /**
136 * Gets (as xml) the "use-context-handler" attribute
137 */
138 org.apache.xmlbeans.XmlBoolean xgetUseContextHandler();
139
140 /**
141 * True if has "use-context-handler" attribute
142 */
143 boolean isSetUseContextHandler();
144
145 /**
146 * Sets the "use-context-handler" attribute
147 */
148 void setUseContextHandler(boolean useContextHandler);
149
150 /**
151 * Sets (as xml) the "use-context-handler" attribute
152 */
153 void xsetUseContextHandler(org.apache.xmlbeans.XmlBoolean useContextHandler);
154
155 /**
156 * Unsets the "use-context-handler" attribute
157 */
158 void unsetUseContextHandler();
159
160 /**
161 * Gets the "default-role" attribute
162 */
163 java.lang.String getDefaultRole();
164
165 /**
166 * Gets (as xml) the "default-role" attribute
167 */
168 org.apache.xmlbeans.XmlString xgetDefaultRole();
169
170 /**
171 * True if has "default-role" attribute
172 */
173 boolean isSetDefaultRole();
174
175 /**
176 * Sets the "default-role" attribute
177 */
178 void setDefaultRole(java.lang.String defaultRole);
179
180 /**
181 * Sets (as xml) the "default-role" attribute
182 */
183 void xsetDefaultRole(org.apache.xmlbeans.XmlString defaultRole);
184
185 /**
186 * Unsets the "default-role" attribute
187 */
188 void unsetDefaultRole();
189
190 /**
191 * A factory class with static methods for creating instances
192 * of this type.
193 */
194
195 public static final class Factory
196 {
197 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType newInstance() {
198 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
199
200 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType newInstance(org.apache.xmlbeans.XmlOptions options) {
201 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
202
203 /** @param xmlAsString the string value to parse */
204 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
205 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
206
207 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
208 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
209
210 /** @param file the file from which to load an xml document */
211 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
212 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
213
214 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
215 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
216
217 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
218 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
219
220 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
221 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
222
223 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
224 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
225
226 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
227 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
228
229 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
230 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
231
232 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
233 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
234
235 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
236 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
237
238 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
239 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
240
241 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
242 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
243
244 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
245 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
246
247 /** @deprecated {@link XMLInputStream} */
248 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
249 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
250
251 /** @deprecated {@link XMLInputStream} */
252 public static org.apache.geronimo.xbeans.geronimo.security.GerSecurityType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
253 return (org.apache.geronimo.xbeans.geronimo.security.GerSecurityType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
254
255 /** @deprecated {@link XMLInputStream} */
256 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 {
257 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
258
259 /** @deprecated {@link XMLInputStream} */
260 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 {
261 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
262
263 private Factory() { } // No instance of this class allowed
264 }
265 }