Samples JDK
USAddress.java
1 /*
2  * XML Type: USAddress
3  * Namespace: http://www.freemindcafe.com/purchase
4  * Java type: com.freemindcafe.purchase.USAddress
5  *
6  * Automatically generated - do not modify.
7  */
8 package com.freemindcafe.purchase;
9 
10 
11 /**
12  * An XML USAddress(@http://www.freemindcafe.com/purchase).
13  *
14  * This is a complex type.
15  */
16 public interface USAddress extends org.apache.xmlbeans.XmlObject
17 {
18  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
19  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(USAddress.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s018604D42A8A63D27D2A46EB43CC007F").resolveHandle("usaddressc44ctype");
20 
21  /**
22  * Gets the "name" element
23  */
24  java.lang.String getName();
25 
26  /**
27  * Gets (as xml) the "name" element
28  */
29  org.apache.xmlbeans.XmlString xgetName();
30 
31  /**
32  * Sets the "name" element
33  */
34  void setName(java.lang.String name);
35 
36  /**
37  * Sets (as xml) the "name" element
38  */
39  void xsetName(org.apache.xmlbeans.XmlString name);
40 
41  /**
42  * Gets the "street" element
43  */
44  java.lang.String getStreet();
45 
46  /**
47  * Gets (as xml) the "street" element
48  */
49  org.apache.xmlbeans.XmlString xgetStreet();
50 
51  /**
52  * Sets the "street" element
53  */
54  void setStreet(java.lang.String street);
55 
56  /**
57  * Sets (as xml) the "street" element
58  */
59  void xsetStreet(org.apache.xmlbeans.XmlString street);
60 
61  /**
62  * Gets the "city" element
63  */
64  java.lang.String getCity();
65 
66  /**
67  * Gets (as xml) the "city" element
68  */
69  org.apache.xmlbeans.XmlString xgetCity();
70 
71  /**
72  * Sets the "city" element
73  */
74  void setCity(java.lang.String city);
75 
76  /**
77  * Sets (as xml) the "city" element
78  */
79  void xsetCity(org.apache.xmlbeans.XmlString city);
80 
81  /**
82  * Gets the "state" element
83  */
84  java.lang.String getState();
85 
86  /**
87  * Gets (as xml) the "state" element
88  */
89  org.apache.xmlbeans.XmlString xgetState();
90 
91  /**
92  * Sets the "state" element
93  */
94  void setState(java.lang.String state);
95 
96  /**
97  * Sets (as xml) the "state" element
98  */
99  void xsetState(org.apache.xmlbeans.XmlString state);
100 
101  /**
102  * Gets the "zip" element
103  */
104  java.math.BigDecimal getZip();
105 
106  /**
107  * Gets (as xml) the "zip" element
108  */
109  org.apache.xmlbeans.XmlDecimal xgetZip();
110 
111  /**
112  * Sets the "zip" element
113  */
114  void setZip(java.math.BigDecimal zip);
115 
116  /**
117  * Sets (as xml) the "zip" element
118  */
119  void xsetZip(org.apache.xmlbeans.XmlDecimal zip);
120 
121  /**
122  * Gets the "country" attribute
123  */
124  java.lang.String getCountry();
125 
126  /**
127  * Gets (as xml) the "country" attribute
128  */
129  org.apache.xmlbeans.XmlNMTOKEN xgetCountry();
130 
131  /**
132  * True if has "country" attribute
133  */
134  boolean isSetCountry();
135 
136  /**
137  * Sets the "country" attribute
138  */
139  void setCountry(java.lang.String country);
140 
141  /**
142  * Sets (as xml) the "country" attribute
143  */
144  void xsetCountry(org.apache.xmlbeans.XmlNMTOKEN country);
145 
146  /**
147  * Unsets the "country" attribute
148  */
149  void unsetCountry();
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 com.freemindcafe.purchase.USAddress newInstance() {
159  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
160 
161  public static com.freemindcafe.purchase.USAddress newInstance(org.apache.xmlbeans.XmlOptions options) {
162  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
163 
164  /** @param xmlAsString the string value to parse */
165  public static com.freemindcafe.purchase.USAddress parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
166  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
167 
168  public static com.freemindcafe.purchase.USAddress parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
169  return (com.freemindcafe.purchase.USAddress) 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 com.freemindcafe.purchase.USAddress parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
173  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
174 
175  public static com.freemindcafe.purchase.USAddress parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
176  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
177 
178  public static com.freemindcafe.purchase.USAddress parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
179  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
180 
181  public static com.freemindcafe.purchase.USAddress parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
182  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
183 
184  public static com.freemindcafe.purchase.USAddress parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
185  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
186 
187  public static com.freemindcafe.purchase.USAddress parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
188  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
189 
190  public static com.freemindcafe.purchase.USAddress parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
191  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
192 
193  public static com.freemindcafe.purchase.USAddress parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
194  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
195 
196  public static com.freemindcafe.purchase.USAddress parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
197  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
198 
199  public static com.freemindcafe.purchase.USAddress parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
200  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
201 
202  public static com.freemindcafe.purchase.USAddress parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
203  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
204 
205  public static com.freemindcafe.purchase.USAddress parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
206  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
207 
208  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
209  @Deprecated
210  public static com.freemindcafe.purchase.USAddress parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
211  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
212 
213  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
214  @Deprecated
215  public static com.freemindcafe.purchase.USAddress parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
216  return (com.freemindcafe.purchase.USAddress) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
217 
218  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
219  @Deprecated
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  @Deprecated
225  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 {
226  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
227 
228  private Factory() { } // No instance of this class allowed
229  }
230 }
void setCountry(java.lang.String country)
org.apache.xmlbeans.XmlDecimal xgetZip()
void setZip(java.math.BigDecimal zip)
org.apache.xmlbeans.XmlNMTOKEN xgetCountry()
void setState(java.lang.String state)
void xsetName(org.apache.xmlbeans.XmlString name)
void xsetStreet(org.apache.xmlbeans.XmlString street)
void xsetCity(org.apache.xmlbeans.XmlString city)
org.apache.xmlbeans.XmlString xgetState()
org.apache.xmlbeans.XmlString xgetStreet()
void setName(java.lang.String name)
void xsetCountry(org.apache.xmlbeans.XmlNMTOKEN country)
void setCity(java.lang.String city)
org.apache.xmlbeans.XmlString xgetName()
void xsetZip(org.apache.xmlbeans.XmlDecimal zip)
org.apache.xmlbeans.XmlString xgetCity()
void xsetState(org.apache.xmlbeans.XmlString state)
void setStreet(java.lang.String street)
java.math.BigDecimal getZip()