001 /*
002 * XML Type: roleType
003 * Namespace: http://geronimo.apache.org/xml/ns/subject-info-1.0
004 * Java type: org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.security.subjectinfo;
009
010
011 /**
012 * An XML roleType(@http://geronimo.apache.org/xml/ns/subject-info-1.0).
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)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerRoleType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8F58AF319EEC34E22F0806A022BFB952").resolveHandle("roletypef4e7type");
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 "realm" element
063 */
064 java.lang.String getRealm();
065
066 /**
067 * Gets (as xml) the "realm" element
068 */
069 org.apache.xmlbeans.XmlString xgetRealm();
070
071 /**
072 * Sets the "realm" element
073 */
074 void setRealm(java.lang.String realm);
075
076 /**
077 * Sets (as xml) the "realm" element
078 */
079 void xsetRealm(org.apache.xmlbeans.XmlString realm);
080
081 /**
082 * Gets the "id" element
083 */
084 java.lang.String getId();
085
086 /**
087 * Gets (as xml) the "id" element
088 */
089 org.apache.xmlbeans.XmlString xgetId();
090
091 /**
092 * Sets the "id" element
093 */
094 void setId(java.lang.String id);
095
096 /**
097 * Sets (as xml) the "id" element
098 */
099 void xsetId(org.apache.xmlbeans.XmlString id);
100
101 /**
102 * Gets the "role-name" attribute
103 */
104 java.lang.String getRoleName();
105
106 /**
107 * Gets (as xml) the "role-name" attribute
108 */
109 org.apache.xmlbeans.XmlString xgetRoleName();
110
111 /**
112 * Sets the "role-name" attribute
113 */
114 void setRoleName(java.lang.String roleName);
115
116 /**
117 * Sets (as xml) the "role-name" attribute
118 */
119 void xsetRoleName(org.apache.xmlbeans.XmlString roleName);
120
121 /**
122 * A factory class with static methods for creating instances
123 * of this type.
124 */
125
126 public static final class Factory
127 {
128 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType newInstance() {
129 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
130
131 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType newInstance(org.apache.xmlbeans.XmlOptions options) {
132 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
133
134 /** @param xmlAsString the string value to parse */
135 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
136 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
137
138 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
139 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
140
141 /** @param file the file from which to load an xml document */
142 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
143 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
144
145 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
146 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
147
148 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
149 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
150
151 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
152 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
153
154 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
155 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
156
157 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
158 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
159
160 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
161 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
162
163 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
164 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
165
166 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
167 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
168
169 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
170 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
171
172 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
173 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
174
175 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
176 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
177
178 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
179 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
180 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
181
182 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
183 public static org.apache.geronimo.xbeans.geronimo.security.subjectinfo.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 {
184 return (org.apache.geronimo.xbeans.geronimo.security.subjectinfo.GerRoleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
185
186 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
187 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 {
188 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
189
190 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
191 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 {
192 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
193
194 private Factory() { } // No instance of this class allowed
195 }
196 }