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