Samples JDK
CommentDocument.java
1 /*
2  * An XML document type.
3  * Localname: comment
4  * Namespace: http://www.freemindcafe.com/purchase
5  * Java type: com.freemindcafe.purchase.CommentDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package com.freemindcafe.purchase;
10 
11 
12 /**
13  * A document containing one comment(@http://www.freemindcafe.com/purchase) element.
14  *
15  * This is a complex type.
16  */
17 public interface CommentDocument extends org.apache.xmlbeans.XmlObject
18 {
19  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
20  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CommentDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s018604D42A8A63D27D2A46EB43CC007F").resolveHandle("commentfb53doctype");
21 
22  /**
23  * Gets the "comment" element
24  */
25  java.lang.String getComment();
26 
27  /**
28  * Gets (as xml) the "comment" element
29  */
30  org.apache.xmlbeans.XmlString xgetComment();
31 
32  /**
33  * Sets the "comment" element
34  */
35  void setComment(java.lang.String comment);
36 
37  /**
38  * Sets (as xml) the "comment" element
39  */
40  void xsetComment(org.apache.xmlbeans.XmlString comment);
41 
42  /**
43  * A factory class with static methods for creating instances
44  * of this type.
45  */
46 
47  public static final class Factory
48  {
49  public static com.freemindcafe.purchase.CommentDocument newInstance() {
50  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
51 
52  public static com.freemindcafe.purchase.CommentDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
53  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
54 
55  /** @param xmlAsString the string value to parse */
56  public static com.freemindcafe.purchase.CommentDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
57  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
58 
59  public static com.freemindcafe.purchase.CommentDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
60  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
61 
62  /** @param file the file from which to load an xml document */
63  public static com.freemindcafe.purchase.CommentDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
64  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
65 
66  public static com.freemindcafe.purchase.CommentDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
67  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
68 
69  public static com.freemindcafe.purchase.CommentDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
70  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
71 
72  public static com.freemindcafe.purchase.CommentDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
73  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
74 
75  public static com.freemindcafe.purchase.CommentDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
76  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
77 
78  public static com.freemindcafe.purchase.CommentDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
79  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
80 
81  public static com.freemindcafe.purchase.CommentDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
82  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
83 
84  public static com.freemindcafe.purchase.CommentDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
85  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
86 
87  public static com.freemindcafe.purchase.CommentDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
88  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
89 
90  public static com.freemindcafe.purchase.CommentDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
91  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
92 
93  public static com.freemindcafe.purchase.CommentDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
94  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
95 
96  public static com.freemindcafe.purchase.CommentDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
97  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
98 
99  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
100  @Deprecated
101  public static com.freemindcafe.purchase.CommentDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
102  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
103 
104  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
105  @Deprecated
106  public static com.freemindcafe.purchase.CommentDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
107  return (com.freemindcafe.purchase.CommentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
108 
109  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
110  @Deprecated
111  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 {
112  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
113 
114  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
115  @Deprecated
116  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 {
117  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
118 
119  private Factory() { } // No instance of this class allowed
120  }
121 }
void setComment(java.lang.String comment)
org.apache.xmlbeans.XmlString xgetComment()
void xsetComment(org.apache.xmlbeans.XmlString comment)