001 /*
002 * XML Type: tMessage
003 * Namespace: http://schemas.xmlsoap.org/wsdl/
004 * Java type: org.apache.geronimo.xbeans.wsdl.TMessage
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.wsdl;
009
010
011 /**
012 * An XML tMessage(@http://schemas.xmlsoap.org/wsdl/).
013 *
014 * This is a complex type.
015 */
016 public interface TMessage extends org.apache.geronimo.xbeans.wsdl.TExtensibleDocumented
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sDD32E5A2898F33527024818ADE537D3B.TypeSystemHolder.typeSystem.resolveHandle("tmessage962atype");
019
020 /**
021 * Gets array of all "part" elements
022 */
023 org.apache.geronimo.xbeans.wsdl.TPart[] getPartArray();
024
025 /**
026 * Gets ith "part" element
027 */
028 org.apache.geronimo.xbeans.wsdl.TPart getPartArray(int i);
029
030 /**
031 * Returns number of "part" element
032 */
033 int sizeOfPartArray();
034
035 /**
036 * Sets array of all "part" element
037 */
038 void setPartArray(org.apache.geronimo.xbeans.wsdl.TPart[] partArray);
039
040 /**
041 * Sets ith "part" element
042 */
043 void setPartArray(int i, org.apache.geronimo.xbeans.wsdl.TPart part);
044
045 /**
046 * Inserts and returns a new empty value (as xml) as the ith "part" element
047 */
048 org.apache.geronimo.xbeans.wsdl.TPart insertNewPart(int i);
049
050 /**
051 * Appends and returns a new empty value (as xml) as the last "part" element
052 */
053 org.apache.geronimo.xbeans.wsdl.TPart addNewPart();
054
055 /**
056 * Removes the ith "part" element
057 */
058 void removePart(int i);
059
060 /**
061 * Gets the "name" attribute
062 */
063 java.lang.String getName();
064
065 /**
066 * Gets (as xml) the "name" attribute
067 */
068 org.apache.xmlbeans.XmlNCName xgetName();
069
070 /**
071 * Sets the "name" attribute
072 */
073 void setName(java.lang.String name);
074
075 /**
076 * Sets (as xml) the "name" attribute
077 */
078 void xsetName(org.apache.xmlbeans.XmlNCName name);
079
080 /**
081 * A factory class with static methods for creating instances
082 * of this type.
083 */
084
085 public static final class Factory
086 {
087 public static org.apache.geronimo.xbeans.wsdl.TMessage newInstance() {
088 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
089
090 public static org.apache.geronimo.xbeans.wsdl.TMessage newInstance(org.apache.xmlbeans.XmlOptions options) {
091 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
092
093 /** @param xmlAsString the string value to parse */
094 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
095 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
096
097 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
098 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
099
100 /** @param file the file from which to load an xml document */
101 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
102 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
103
104 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
105 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
106
107 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
108 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
109
110 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
111 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
112
113 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
114 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
115
116 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
117 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
118
119 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
120 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
121
122 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
123 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
124
125 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
126 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
127
128 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
129 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
130
131 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
132 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
133
134 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
135 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
136
137 /** @deprecated {@link XMLInputStream} */
138 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
139 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
140
141 /** @deprecated {@link XMLInputStream} */
142 public static org.apache.geronimo.xbeans.wsdl.TMessage parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
143 return (org.apache.geronimo.xbeans.wsdl.TMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
144
145 /** @deprecated {@link XMLInputStream} */
146 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 {
147 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
148
149 /** @deprecated {@link XMLInputStream} */
150 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 {
151 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
152
153 private Factory() { } // No instance of this class allowed
154 }
155 }