View Javadoc

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