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