View Javadoc

1   /*
2    * An XML document type.
3    * Localname: NegotiationContext
4    * Namespace: http://schemas.ogf.org/graap/2009/11/ws-agreement-negotiation
5    * Java type: org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package org.ogf.schemas.graap.wsAgreement.negotiation;
10  
11  
12  /**
13   * A document containing one NegotiationContext(@http://schemas.ogf.org/graap/2009/11/ws-agreement-negotiation) element.
14   *
15   * This is a complex type.
16   */
17  public interface NegotiationContextDocument 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(NegotiationContextDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s1E82E5FFD6D93F7E928DD54BBB6CABD9").resolveHandle("negotiationcontext5adedoctype");
21      
22      /**
23       * Gets the "NegotiationContext" element
24       */
25      org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextType getNegotiationContext();
26      
27      /**
28       * Sets the "NegotiationContext" element
29       */
30      void setNegotiationContext(org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextType negotiationContext);
31      
32      /**
33       * Appends and returns a new empty "NegotiationContext" element
34       */
35      org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextType addNewNegotiationContext();
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.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument newInstance() {
45            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
46          
47          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
48            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
49          
50          /** @param xmlAsString the string value to parse */
51          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
52            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
53          
54          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
55            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) 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.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
59            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
60          
61          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
62            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
63          
64          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
65            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
66          
67          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
68            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
69          
70          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
71            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
72          
73          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
74            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
75          
76          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
77            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
78          
79          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
80            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
81          
82          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
83            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
84          
85          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
86            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
87          
88          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
89            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
90          
91          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
92            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
93          
94          /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
95          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
96            return (org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
97          
98          /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
99          public static org.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument 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.ogf.schemas.graap.wsAgreement.negotiation.NegotiationContextDocument) 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 }