Samples JDK
MessageType.java
1 /*
2  * XML Type: MessageType
3  * Namespace: http://www.freemindcafe.com/purchase2
4  * Java type: com.freemindcafe.purchase2.MessageType
5  *
6  * Automatically generated - do not modify.
7  */
8 package com.freemindcafe.purchase2;
9 
10 
11 /**
12  * An XML MessageType(@http://www.freemindcafe.com/purchase2).
13  *
14  * This is a complex type.
15  */
16 public interface MessageType 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(MessageType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s22597AB43033773C8A51EC3F4C4F4C8C").resolveHandle("messagetype27b1type");
20 
21  /**
22  * Gets the "giftWrap" element
23  */
24  boolean getGiftWrap();
25 
26  /**
27  * Gets (as xml) the "giftWrap" element
28  */
29  org.apache.xmlbeans.XmlBoolean xgetGiftWrap();
30 
31  /**
32  * Sets the "giftWrap" element
33  */
34  void setGiftWrap(boolean giftWrap);
35 
36  /**
37  * Sets (as xml) the "giftWrap" element
38  */
39  void xsetGiftWrap(org.apache.xmlbeans.XmlBoolean giftWrap);
40 
41  /**
42  * Gets the "comment" element
43  */
44  java.lang.String getComment();
45 
46  /**
47  * Gets (as xml) the "comment" element
48  */
49  org.apache.xmlbeans.XmlString xgetComment();
50 
51  /**
52  * True if has "comment" element
53  */
54  boolean isSetComment();
55 
56  /**
57  * Sets the "comment" element
58  */
59  void setComment(java.lang.String comment);
60 
61  /**
62  * Sets (as xml) the "comment" element
63  */
64  void xsetComment(org.apache.xmlbeans.XmlString comment);
65 
66  /**
67  * Unsets the "comment" element
68  */
69  void unsetComment();
70 
71  /**
72  * A factory class with static methods for creating instances
73  * of this type.
74  */
75 
76  public static final class Factory
77  {
78  public static com.freemindcafe.purchase2.MessageType newInstance() {
79  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
80 
81  public static com.freemindcafe.purchase2.MessageType newInstance(org.apache.xmlbeans.XmlOptions options) {
82  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
83 
84  /** @param xmlAsString the string value to parse */
85  public static com.freemindcafe.purchase2.MessageType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
86  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
87 
88  public static com.freemindcafe.purchase2.MessageType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
89  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
90 
91  /** @param file the file from which to load an xml document */
92  public static com.freemindcafe.purchase2.MessageType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
93  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
94 
95  public static com.freemindcafe.purchase2.MessageType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
96  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
97 
98  public static com.freemindcafe.purchase2.MessageType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
99  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
100 
101  public static com.freemindcafe.purchase2.MessageType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
102  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
103 
104  public static com.freemindcafe.purchase2.MessageType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
105  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
106 
107  public static com.freemindcafe.purchase2.MessageType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
108  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
109 
110  public static com.freemindcafe.purchase2.MessageType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
111  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
112 
113  public static com.freemindcafe.purchase2.MessageType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
114  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
115 
116  public static com.freemindcafe.purchase2.MessageType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
117  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
118 
119  public static com.freemindcafe.purchase2.MessageType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
120  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
121 
122  public static com.freemindcafe.purchase2.MessageType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
123  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
124 
125  public static com.freemindcafe.purchase2.MessageType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
126  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
127 
128  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
129  @Deprecated
130  public static com.freemindcafe.purchase2.MessageType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
131  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
132 
133  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
134  @Deprecated
135  public static com.freemindcafe.purchase2.MessageType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
136  return (com.freemindcafe.purchase2.MessageType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
137 
138  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
139  @Deprecated
140  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 {
141  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
142 
143  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
144  @Deprecated
145  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 {
146  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
147 
148  private Factory() { } // No instance of this class allowed
149  }
150 }
void setComment(java.lang.String comment)
org.apache.xmlbeans.XmlString xgetComment()
void xsetGiftWrap(org.apache.xmlbeans.XmlBoolean giftWrap)
org.apache.xmlbeans.XmlBoolean xgetGiftWrap()
void setGiftWrap(boolean giftWrap)
void xsetComment(org.apache.xmlbeans.XmlString comment)