View Javadoc
1 /* 2 * An XML document type. 3 * Localname: ingredient 4 * Namespace: http://mrl.sf.net 5 * Java type: net.sf.mrl.IngredientDocument 6 * 7 * Automatically generated - do not modify. 8 */ 9 package net.sf.mrl; 10 11 12 /*** 13 * A document containing one ingredient(@http://mrl.sf.net) element. 14 * 15 * This is a complex type. 16 */ 17 public interface IngredientDocument extends org.apache.xmlbeans.XmlObject 18 { 19 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("ingredientb7c5doctype"); 20 21 /*** 22 * Gets the "ingredient" element 23 */ 24 net.sf.mrl.IngredientDocument.Ingredient getIngredient(); 25 26 /*** 27 * Sets the "ingredient" element 28 */ 29 void setIngredient(net.sf.mrl.IngredientDocument.Ingredient ingredient); 30 31 /*** 32 * Appends and returns a new empty "ingredient" element 33 */ 34 net.sf.mrl.IngredientDocument.Ingredient addNewIngredient(); 35 36 /*** 37 * An XML ingredient(@http://mrl.sf.net). 38 * 39 * This is a complex type. 40 */ 41 public interface Ingredient extends org.apache.xmlbeans.XmlObject 42 { 43 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("ingredientcdb8elemtype"); 44 45 /*** 46 * Gets the "amount" element 47 */ 48 net.sf.mrl.AmountDocument.Amount getAmount(); 49 50 /*** 51 * Sets the "amount" element 52 */ 53 void setAmount(net.sf.mrl.AmountDocument.Amount amount); 54 55 /*** 56 * Appends and returns a new empty "amount" element 57 */ 58 net.sf.mrl.AmountDocument.Amount addNewAmount(); 59 60 /*** 61 * Gets the "pre-condition" element 62 */ 63 java.lang.String getPreCondition(); 64 65 /*** 66 * Gets (as xml) the "pre-condition" element 67 */ 68 org.apache.xmlbeans.XmlString xgetPreCondition(); 69 70 /*** 71 * True if has "pre-condition" element 72 */ 73 boolean isSetPreCondition(); 74 75 /*** 76 * Sets the "pre-condition" element 77 */ 78 void setPreCondition(java.lang.String preCondition); 79 80 /*** 81 * Sets (as xml) the "pre-condition" element 82 */ 83 void xsetPreCondition(org.apache.xmlbeans.XmlString preCondition); 84 85 /*** 86 * Unsets the "pre-condition" element 87 */ 88 void unsetPreCondition(); 89 90 /*** 91 * Gets the "name" element 92 */ 93 java.lang.String getName(); 94 95 /*** 96 * Gets (as xml) the "name" element 97 */ 98 org.apache.xmlbeans.XmlString xgetName(); 99 100 /*** 101 * Sets the "name" element 102 */ 103 void setName(java.lang.String name); 104 105 /*** 106 * Sets (as xml) the "name" element 107 */ 108 void xsetName(org.apache.xmlbeans.XmlString name); 109 110 /*** 111 * Gets the "post-condition" element 112 */ 113 java.lang.String getPostCondition(); 114 115 /*** 116 * Gets (as xml) the "post-condition" element 117 */ 118 org.apache.xmlbeans.XmlString xgetPostCondition(); 119 120 /*** 121 * True if has "post-condition" element 122 */ 123 boolean isSetPostCondition(); 124 125 /*** 126 * Sets the "post-condition" element 127 */ 128 void setPostCondition(java.lang.String postCondition); 129 130 /*** 131 * Sets (as xml) the "post-condition" element 132 */ 133 void xsetPostCondition(org.apache.xmlbeans.XmlString postCondition); 134 135 /*** 136 * Unsets the "post-condition" element 137 */ 138 void unsetPostCondition(); 139 140 /*** 141 * Gets the "optional" attribute 142 */ 143 boolean getOptional(); 144 145 /*** 146 * Gets (as xml) the "optional" attribute 147 */ 148 org.apache.xmlbeans.XmlBoolean xgetOptional(); 149 150 /*** 151 * True if has "optional" attribute 152 */ 153 boolean isSetOptional(); 154 155 /*** 156 * Sets the "optional" attribute 157 */ 158 void setOptional(boolean optional); 159 160 /*** 161 * Sets (as xml) the "optional" attribute 162 */ 163 void xsetOptional(org.apache.xmlbeans.XmlBoolean optional); 164 165 /*** 166 * Unsets the "optional" attribute 167 */ 168 void unsetOptional(); 169 170 /*** 171 * A factory class with static methods for creating instances 172 * of this type. 173 */ 174 175 public static final class Factory 176 { 177 public static net.sf.mrl.IngredientDocument.Ingredient newInstance() { 178 return (net.sf.mrl.IngredientDocument.Ingredient) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 179 180 public static net.sf.mrl.IngredientDocument.Ingredient newInstance(org.apache.xmlbeans.XmlOptions options) { 181 return (net.sf.mrl.IngredientDocument.Ingredient) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 182 183 private Factory() { } // No instance of this class allowed 184 } 185 } 186 187 /*** 188 * A factory class with static methods for creating instances 189 * of this type. 190 */ 191 192 public static final class Factory 193 { 194 public static net.sf.mrl.IngredientDocument newInstance() { 195 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 196 197 public static net.sf.mrl.IngredientDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 198 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 199 200 public static net.sf.mrl.IngredientDocument parse(java.lang.String s) throws org.apache.xmlbeans.XmlException { 201 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); } 202 203 public static net.sf.mrl.IngredientDocument parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 204 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); } 205 206 public static net.sf.mrl.IngredientDocument parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException { 207 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); } 208 209 public static net.sf.mrl.IngredientDocument parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 210 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); } 211 212 public static net.sf.mrl.IngredientDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 213 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 214 215 public static net.sf.mrl.IngredientDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 216 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 217 218 public static net.sf.mrl.IngredientDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 219 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 220 221 public static net.sf.mrl.IngredientDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 222 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 223 224 public static net.sf.mrl.IngredientDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 225 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 226 227 public static net.sf.mrl.IngredientDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 228 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 229 230 public static net.sf.mrl.IngredientDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 231 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 232 233 public static net.sf.mrl.IngredientDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 234 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 235 236 public static net.sf.mrl.IngredientDocument parse(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 237 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 238 239 public static net.sf.mrl.IngredientDocument parse(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 240 return (net.sf.mrl.IngredientDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 241 242 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 243 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 244 245 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 246 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 247 248 private Factory() { } // No instance of this class allowed 249 } 250 }

This page was automatically generated by Maven