001/* 002 * An XML document type. 003 * Localname: idref 004 * Namespace: http://www.springframework.org/schema/beans 005 * Java type: org.springframework.schema.beans.IdrefDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009package org.springframework.schema.beans; 010 011 012/** 013 * A document containing one idref(@http://www.springframework.org/schema/beans) element. 014 * 015 * This is a complex type. 016 */ 017public interface IdrefDocument 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(IdrefDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("idreff465doctype"); 021 022 /** 023 * Gets the "idref" element 024 */ 025 org.springframework.schema.beans.IdrefDocument.Idref getIdref(); 026 027 /** 028 * Sets the "idref" element 029 */ 030 void setIdref(org.springframework.schema.beans.IdrefDocument.Idref idref); 031 032 /** 033 * Appends and returns a new empty "idref" element 034 */ 035 org.springframework.schema.beans.IdrefDocument.Idref addNewIdref(); 036 037 /** 038 * An XML idref(@http://www.springframework.org/schema/beans). 039 * 040 * This is a complex type. 041 */ 042 public interface Idref 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(Idref.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("idref2269elemtype"); 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 * A factory class with static methods for creating instances 109 * of this type. 110 */ 111 112 public static final class Factory 113 { 114 public static org.springframework.schema.beans.IdrefDocument.Idref newInstance() { 115 return (org.springframework.schema.beans.IdrefDocument.Idref) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 116 117 public static org.springframework.schema.beans.IdrefDocument.Idref newInstance(org.apache.xmlbeans.XmlOptions options) { 118 return (org.springframework.schema.beans.IdrefDocument.Idref) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 119 120 private Factory() { } // No instance of this class allowed 121 } 122 } 123 124 /** 125 * A factory class with static methods for creating instances 126 * of this type. 127 */ 128 129 public static final class Factory 130 { 131 public static org.springframework.schema.beans.IdrefDocument newInstance() { 132 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 133 134 public static org.springframework.schema.beans.IdrefDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 135 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 136 137 /** @param xmlAsString the string value to parse */ 138 public static org.springframework.schema.beans.IdrefDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 139 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 140 141 public static org.springframework.schema.beans.IdrefDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 142 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 143 144 /** @param file the file from which to load an xml document */ 145 public static org.springframework.schema.beans.IdrefDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 146 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 147 148 public static org.springframework.schema.beans.IdrefDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 149 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 150 151 public static org.springframework.schema.beans.IdrefDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 152 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 153 154 public static org.springframework.schema.beans.IdrefDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 155 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 156 157 public static org.springframework.schema.beans.IdrefDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 158 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 159 160 public static org.springframework.schema.beans.IdrefDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 161 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 162 163 public static org.springframework.schema.beans.IdrefDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 164 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 165 166 public static org.springframework.schema.beans.IdrefDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 167 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 168 169 public static org.springframework.schema.beans.IdrefDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 170 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 171 172 public static org.springframework.schema.beans.IdrefDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 173 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 174 175 public static org.springframework.schema.beans.IdrefDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 176 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 177 178 public static org.springframework.schema.beans.IdrefDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 179 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 180 181 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 182 public static org.springframework.schema.beans.IdrefDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 183 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 184 185 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 186 public static org.springframework.schema.beans.IdrefDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 187 return (org.springframework.schema.beans.IdrefDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 188 189 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 190 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 { 191 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 192 193 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 194 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 { 195 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 196 197 private Factory() { } // No instance of this class allowed 198 } 199}