001 /* 002 * XML Type: gbean-refType 003 * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.naming; 009 010 011 /** 012 * An XML gbean-refType(@http://geronimo.apache.org/xml/ns/naming-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerGbeanRefType extends org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerGbeanRefType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("gbeanreftype2eadtype"); 020 021 /** 022 * Gets the "ref-name" element 023 */ 024 java.lang.String getRefName(); 025 026 /** 027 * Gets (as xml) the "ref-name" element 028 */ 029 org.apache.xmlbeans.XmlString xgetRefName(); 030 031 /** 032 * Sets the "ref-name" element 033 */ 034 void setRefName(java.lang.String refName); 035 036 /** 037 * Sets (as xml) the "ref-name" element 038 */ 039 void xsetRefName(org.apache.xmlbeans.XmlString refName); 040 041 /** 042 * Gets array of all "ref-type" elements 043 */ 044 java.lang.String[] getRefTypeArray(); 045 046 /** 047 * Gets ith "ref-type" element 048 */ 049 java.lang.String getRefTypeArray(int i); 050 051 /** 052 * Gets (as xml) array of all "ref-type" elements 053 */ 054 org.apache.xmlbeans.XmlString[] xgetRefTypeArray(); 055 056 /** 057 * Gets (as xml) ith "ref-type" element 058 */ 059 org.apache.xmlbeans.XmlString xgetRefTypeArray(int i); 060 061 /** 062 * Returns number of "ref-type" element 063 */ 064 int sizeOfRefTypeArray(); 065 066 /** 067 * Sets array of all "ref-type" element 068 */ 069 void setRefTypeArray(java.lang.String[] refTypeArray); 070 071 /** 072 * Sets ith "ref-type" element 073 */ 074 void setRefTypeArray(int i, java.lang.String refType); 075 076 /** 077 * Sets (as xml) array of all "ref-type" element 078 */ 079 void xsetRefTypeArray(org.apache.xmlbeans.XmlString[] refTypeArray); 080 081 /** 082 * Sets (as xml) ith "ref-type" element 083 */ 084 void xsetRefTypeArray(int i, org.apache.xmlbeans.XmlString refType); 085 086 /** 087 * Inserts the value as the ith "ref-type" element 088 */ 089 void insertRefType(int i, java.lang.String refType); 090 091 /** 092 * Appends the value as the last "ref-type" element 093 */ 094 void addRefType(java.lang.String refType); 095 096 /** 097 * Inserts and returns a new empty value (as xml) as the ith "ref-type" element 098 */ 099 org.apache.xmlbeans.XmlString insertNewRefType(int i); 100 101 /** 102 * Appends and returns a new empty value (as xml) as the last "ref-type" element 103 */ 104 org.apache.xmlbeans.XmlString addNewRefType(); 105 106 /** 107 * Removes the ith "ref-type" element 108 */ 109 void removeRefType(int i); 110 111 /** 112 * Gets array of all "pattern" elements 113 */ 114 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType[] getPatternArray(); 115 116 /** 117 * Gets ith "pattern" element 118 */ 119 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPatternArray(int i); 120 121 /** 122 * Returns number of "pattern" element 123 */ 124 int sizeOfPatternArray(); 125 126 /** 127 * Sets array of all "pattern" element 128 */ 129 void setPatternArray(org.apache.geronimo.xbeans.geronimo.naming.GerPatternType[] patternArray); 130 131 /** 132 * Sets ith "pattern" element 133 */ 134 void setPatternArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerPatternType pattern); 135 136 /** 137 * Inserts and returns a new empty value (as xml) as the ith "pattern" element 138 */ 139 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType insertNewPattern(int i); 140 141 /** 142 * Appends and returns a new empty value (as xml) as the last "pattern" element 143 */ 144 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType addNewPattern(); 145 146 /** 147 * Removes the ith "pattern" element 148 */ 149 void removePattern(int i); 150 151 /** 152 * A factory class with static methods for creating instances 153 * of this type. 154 */ 155 156 public static final class Factory 157 { 158 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType newInstance() { 159 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 160 161 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType newInstance(org.apache.xmlbeans.XmlOptions options) { 162 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 163 164 /** @param xmlAsString the string value to parse */ 165 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 166 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 167 168 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 169 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 170 171 /** @param file the file from which to load an xml document */ 172 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 173 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 174 175 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 176 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 177 178 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 179 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 180 181 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 182 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 183 184 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 185 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 186 187 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 188 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 189 190 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 191 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 192 193 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 194 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 195 196 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 197 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 198 199 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 200 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 201 202 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 203 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 204 205 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 206 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 207 208 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 209 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 210 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 211 212 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 213 public static org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 214 return (org.apache.geronimo.xbeans.geronimo.naming.GerGbeanRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 215 216 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 217 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 { 218 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 219 220 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 221 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 { 222 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 223 224 private Factory() { } // No instance of this class allowed 225 } 226 }