001 /* 002 * XML Type: principalType 003 * Namespace: http://geronimo.apache.org/xml/ns/security-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.security; 009 010 011 /** 012 * An XML principalType(@http://geronimo.apache.org/xml/ns/security-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerPrincipalType 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("principaltype78b4type"); 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 "class" attribute 062 */ 063 java.lang.String getClass1(); 064 065 /** 066 * Gets (as xml) the "class" attribute 067 */ 068 org.apache.xmlbeans.XmlString xgetClass1(); 069 070 /** 071 * Sets the "class" attribute 072 */ 073 void setClass1(java.lang.String class1); 074 075 /** 076 * Sets (as xml) the "class" attribute 077 */ 078 void xsetClass1(org.apache.xmlbeans.XmlString class1); 079 080 /** 081 * Gets the "name" attribute 082 */ 083 java.lang.String getName(); 084 085 /** 086 * Gets (as xml) the "name" attribute 087 */ 088 org.apache.xmlbeans.XmlString xgetName(); 089 090 /** 091 * Sets the "name" attribute 092 */ 093 void setName(java.lang.String name); 094 095 /** 096 * Sets (as xml) the "name" attribute 097 */ 098 void xsetName(org.apache.xmlbeans.XmlString name); 099 100 /** 101 * Gets the "designated-run-as" attribute 102 */ 103 boolean getDesignatedRunAs(); 104 105 /** 106 * Gets (as xml) the "designated-run-as" attribute 107 */ 108 org.apache.xmlbeans.XmlBoolean xgetDesignatedRunAs(); 109 110 /** 111 * True if has "designated-run-as" attribute 112 */ 113 boolean isSetDesignatedRunAs(); 114 115 /** 116 * Sets the "designated-run-as" attribute 117 */ 118 void setDesignatedRunAs(boolean designatedRunAs); 119 120 /** 121 * Sets (as xml) the "designated-run-as" attribute 122 */ 123 void xsetDesignatedRunAs(org.apache.xmlbeans.XmlBoolean designatedRunAs); 124 125 /** 126 * Unsets the "designated-run-as" attribute 127 */ 128 void unsetDesignatedRunAs(); 129 130 /** 131 * A factory class with static methods for creating instances 132 * of this type. 133 */ 134 135 public static final class Factory 136 { 137 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType newInstance() { 138 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 139 140 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType newInstance(org.apache.xmlbeans.XmlOptions options) { 141 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 142 143 /** @param xmlAsString the string value to parse */ 144 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 145 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 146 147 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 148 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 149 150 /** @param file the file from which to load an xml document */ 151 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 152 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 153 154 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 155 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 156 157 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 158 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 159 160 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 161 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 162 163 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 164 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 165 166 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 167 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 168 169 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 170 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 171 172 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 173 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 174 175 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 176 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 177 178 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 179 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 180 181 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 182 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 183 184 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 185 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 186 187 /** @deprecated {@link XMLInputStream} */ 188 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 189 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 190 191 /** @deprecated {@link XMLInputStream} */ 192 public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 193 return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 194 195 /** @deprecated {@link XMLInputStream} */ 196 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 { 197 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 198 199 /** @deprecated {@link XMLInputStream} */ 200 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 { 201 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 202 203 private Factory() { } // No instance of this class allowed 204 } 205 }