001 /* 002 * XML Type: roleType 003 * Namespace: http://geronimo.apache.org/xml/ns/security-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.security.GerRoleType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.security; 009 010 011 /** 012 * An XML roleType(@http://geronimo.apache.org/xml/ns/security-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerRoleType extends org.apache.xmlbeans.XmlObject 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sAC7A4D68E92F83330EB8FF8C7ED832FA.TypeSystemHolder.typeSystem.resolveHandle("roletypea7fatype"); 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 array of all "realm-principal" elements 062 */ 063 org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType[] getRealmPrincipalArray(); 064 065 /** 066 * Gets ith "realm-principal" element 067 */ 068 org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType getRealmPrincipalArray(int i); 069 070 /** 071 * Returns number of "realm-principal" element 072 */ 073 int sizeOfRealmPrincipalArray(); 074 075 /** 076 * Sets array of all "realm-principal" element 077 */ 078 void setRealmPrincipalArray(org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType[] realmPrincipalArray); 079 080 /** 081 * Sets ith "realm-principal" element 082 */ 083 void setRealmPrincipalArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType realmPrincipal); 084 085 /** 086 * Inserts and returns a new empty value (as xml) as the ith "realm-principal" element 087 */ 088 org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType insertNewRealmPrincipal(int i); 089 090 /** 091 * Appends and returns a new empty value (as xml) as the last "realm-principal" element 092 */ 093 org.apache.geronimo.xbeans.geronimo.security.GerRealmPrincipalType addNewRealmPrincipal(); 094 095 /** 096 * Removes the ith "realm-principal" element 097 */ 098 void removeRealmPrincipal(int i); 099 100 /** 101 * Gets array of all "login-domain-principal" elements 102 */ 103 org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType[] getLoginDomainPrincipalArray(); 104 105 /** 106 * Gets ith "login-domain-principal" element 107 */ 108 org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType getLoginDomainPrincipalArray(int i); 109 110 /** 111 * Returns number of "login-domain-principal" element 112 */ 113 int sizeOfLoginDomainPrincipalArray(); 114 115 /** 116 * Sets array of all "login-domain-principal" element 117 */ 118 void setLoginDomainPrincipalArray(org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType[] loginDomainPrincipalArray); 119 120 /** 121 * Sets ith "login-domain-principal" element 122 */ 123 void setLoginDomainPrincipalArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType loginDomainPrincipal); 124 125 /** 126 * Inserts and returns a new empty value (as xml) as the ith "login-domain-principal" element 127 */ 128 org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType insertNewLoginDomainPrincipal(int i); 129 130 /** 131 * Appends and returns a new empty value (as xml) as the last "login-domain-principal" element 132 */ 133 org.apache.geronimo.xbeans.geronimo.security.GerLoginDomainPrincipalType addNewLoginDomainPrincipal(); 134 135 /** 136 * Removes the ith "login-domain-principal" element 137 */ 138 void removeLoginDomainPrincipal(int i); 139 140 /** 141 * Gets array of all "principal" elements 142 */ 143 org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType[] getPrincipalArray(); 144 145 /** 146 * Gets ith "principal" element 147 */ 148 org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType getPrincipalArray(int i); 149 150 /** 151 * Returns number of "principal" element 152 */ 153 int sizeOfPrincipalArray(); 154 155 /** 156 * Sets array of all "principal" element 157 */ 158 void setPrincipalArray(org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType[] principalArray); 159 160 /** 161 * Sets ith "principal" element 162 */ 163 void setPrincipalArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType principal); 164 165 /** 166 * Inserts and returns a new empty value (as xml) as the ith "principal" element 167 */ 168 org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType insertNewPrincipal(int i); 169 170 /** 171 * Appends and returns a new empty value (as xml) as the last "principal" element 172 */ 173 org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType addNewPrincipal(); 174 175 /** 176 * Removes the ith "principal" element 177 */ 178 void removePrincipal(int i); 179 180 /** 181 * Gets array of all "distinguished-name" elements 182 */ 183 org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType[] getDistinguishedNameArray(); 184 185 /** 186 * Gets ith "distinguished-name" element 187 */ 188 org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType getDistinguishedNameArray(int i); 189 190 /** 191 * Returns number of "distinguished-name" element 192 */ 193 int sizeOfDistinguishedNameArray(); 194 195 /** 196 * Sets array of all "distinguished-name" element 197 */ 198 void setDistinguishedNameArray(org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType[] distinguishedNameArray); 199 200 /** 201 * Sets ith "distinguished-name" element 202 */ 203 void setDistinguishedNameArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType distinguishedName); 204 205 /** 206 * Inserts and returns a new empty value (as xml) as the ith "distinguished-name" element 207 */ 208 org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType insertNewDistinguishedName(int i); 209 210 /** 211 * Appends and returns a new empty value (as xml) as the last "distinguished-name" element 212 */ 213 org.apache.geronimo.xbeans.geronimo.security.GerDistinguishedNameType addNewDistinguishedName(); 214 215 /** 216 * Removes the ith "distinguished-name" element 217 */ 218 void removeDistinguishedName(int i); 219 220 /** 221 * Gets the "role-name" attribute 222 */ 223 java.lang.String getRoleName(); 224 225 /** 226 * Gets (as xml) the "role-name" attribute 227 */ 228 org.apache.xmlbeans.XmlString xgetRoleName(); 229 230 /** 231 * Sets the "role-name" attribute 232 */ 233 void setRoleName(java.lang.String roleName); 234 235 /** 236 * Sets (as xml) the "role-name" attribute 237 */ 238 void xsetRoleName(org.apache.xmlbeans.XmlString roleName); 239 240 /** 241 * A factory class with static methods for creating instances 242 * of this type. 243 */ 244 245 public static final class Factory 246 { 247 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType newInstance() { 248 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 249 250 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType newInstance(org.apache.xmlbeans.XmlOptions options) { 251 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 252 253 /** @param xmlAsString the string value to parse */ 254 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 255 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 256 257 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 258 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 259 260 /** @param file the file from which to load an xml document */ 261 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 262 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 263 264 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 265 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 266 267 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 268 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 269 270 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 271 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 272 273 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 274 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 275 276 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 277 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 278 279 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 280 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 281 282 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 283 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 284 285 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 286 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 287 288 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 289 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 290 291 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 292 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 293 294 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 295 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 296 297 /** @deprecated {@link XMLInputStream} */ 298 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 299 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 300 301 /** @deprecated {@link XMLInputStream} */ 302 public static org.apache.geronimo.xbeans.geronimo.security.GerRoleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 303 return (org.apache.geronimo.xbeans.geronimo.security.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 304 305 /** @deprecated {@link XMLInputStream} */ 306 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 { 307 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 308 309 /** @deprecated {@link XMLInputStream} */ 310 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 { 311 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 312 313 private Factory() { } // No instance of this class allowed 314 } 315 }