001/* 002 * An XML document type. 003 * Localname: ref 004 * Namespace: http://www.springframework.org/schema/beans 005 * Java type: org.springframework.schema.beans.RefDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009package org.springframework.schema.beans; 010 011 012/** 013 * A document containing one ref(@http://www.springframework.org/schema/beans) element. 014 * 015 * This is a complex type. 016 */ 017public interface RefDocument extends org.apache.xmlbeans.XmlObject 018{ 019 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 020 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(RefDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("ref8ca0doctype"); 021 022 /** 023 * Gets the "ref" element 024 */ 025 org.springframework.schema.beans.RefDocument.Ref getRef(); 026 027 /** 028 * Sets the "ref" element 029 */ 030 void setRef(org.springframework.schema.beans.RefDocument.Ref ref); 031 032 /** 033 * Appends and returns a new empty "ref" element 034 */ 035 org.springframework.schema.beans.RefDocument.Ref addNewRef(); 036 037 /** 038 * An XML ref(@http://www.springframework.org/schema/beans). 039 * 040 * This is a complex type. 041 */ 042 public interface Ref extends org.apache.xmlbeans.XmlObject 043 { 044 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 045 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Ref.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("reff7dfelemtype"); 046 047 /** 048 * Gets the "bean" attribute 049 */ 050 java.lang.String getBean(); 051 052 /** 053 * Gets (as xml) the "bean" attribute 054 */ 055 org.apache.xmlbeans.XmlString xgetBean(); 056 057 /** 058 * True if has "bean" attribute 059 */ 060 boolean isSetBean(); 061 062 /** 063 * Sets the "bean" attribute 064 */ 065 void setBean(java.lang.String bean); 066 067 /** 068 * Sets (as xml) the "bean" attribute 069 */ 070 void xsetBean(org.apache.xmlbeans.XmlString bean); 071 072 /** 073 * Unsets the "bean" attribute 074 */ 075 void unsetBean(); 076 077 /** 078 * Gets the "local" attribute 079 */ 080 java.lang.String getLocal(); 081 082 /** 083 * Gets (as xml) the "local" attribute 084 */ 085 org.apache.xmlbeans.XmlIDREF xgetLocal(); 086 087 /** 088 * True if has "local" attribute 089 */ 090 boolean isSetLocal(); 091 092 /** 093 * Sets the "local" attribute 094 */ 095 void setLocal(java.lang.String local); 096 097 /** 098 * Sets (as xml) the "local" attribute 099 */ 100 void xsetLocal(org.apache.xmlbeans.XmlIDREF local); 101 102 /** 103 * Unsets the "local" attribute 104 */ 105 void unsetLocal(); 106 107 /** 108 * Gets the "parent" attribute 109 */ 110 java.lang.String getParent(); 111 112 /** 113 * Gets (as xml) the "parent" attribute 114 */ 115 org.apache.xmlbeans.XmlString xgetParent(); 116 117 /** 118 * True if has "parent" attribute 119 */ 120 boolean isSetParent(); 121 122 /** 123 * Sets the "parent" attribute 124 */ 125 void setParent(java.lang.String parent); 126 127 /** 128 * Sets (as xml) the "parent" attribute 129 */ 130 void xsetParent(org.apache.xmlbeans.XmlString parent); 131 132 /** 133 * Unsets the "parent" attribute 134 */ 135 void unsetParent(); 136 137 /** 138 * A factory class with static methods for creating instances 139 * of this type. 140 */ 141 142 public static final class Factory 143 { 144 public static org.springframework.schema.beans.RefDocument.Ref newInstance() { 145 return (org.springframework.schema.beans.RefDocument.Ref) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 146 147 public static org.springframework.schema.beans.RefDocument.Ref newInstance(org.apache.xmlbeans.XmlOptions options) { 148 return (org.springframework.schema.beans.RefDocument.Ref) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 149 150 private Factory() { } // No instance of this class allowed 151 } 152 } 153 154 /** 155 * A factory class with static methods for creating instances 156 * of this type. 157 */ 158 159 public static final class Factory 160 { 161 public static org.springframework.schema.beans.RefDocument newInstance() { 162 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 163 164 public static org.springframework.schema.beans.RefDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 165 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 166 167 /** @param xmlAsString the string value to parse */ 168 public static org.springframework.schema.beans.RefDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 169 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 170 171 public static org.springframework.schema.beans.RefDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 172 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 173 174 /** @param file the file from which to load an xml document */ 175 public static org.springframework.schema.beans.RefDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 176 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 177 178 public static org.springframework.schema.beans.RefDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 179 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 180 181 public static org.springframework.schema.beans.RefDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 182 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 183 184 public static org.springframework.schema.beans.RefDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 185 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 186 187 public static org.springframework.schema.beans.RefDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 188 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 189 190 public static org.springframework.schema.beans.RefDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 191 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 192 193 public static org.springframework.schema.beans.RefDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 194 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 195 196 public static org.springframework.schema.beans.RefDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 197 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 198 199 public static org.springframework.schema.beans.RefDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 200 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 201 202 public static org.springframework.schema.beans.RefDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 203 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 204 205 public static org.springframework.schema.beans.RefDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 206 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 207 208 public static org.springframework.schema.beans.RefDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 209 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 210 211 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 212 public static org.springframework.schema.beans.RefDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 213 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 214 215 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 216 public static org.springframework.schema.beans.RefDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 217 return (org.springframework.schema.beans.RefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 218 219 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 220 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 { 221 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 222 223 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 224 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 { 225 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 226 227 private Factory() { } // No instance of this class allowed 228 } 229}