001    /*
002     * XML Type:  portType
003     * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004     * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerPortType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.naming;
009    
010    
011    /**
012     * An XML portType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013     *
014     * This is a complex type.
015     */
016    public interface GerPortType extends org.apache.xmlbeans.XmlObject
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerPortType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("porttypee517type");
020        
021        /**
022         * Gets the "port-name" element
023         */
024        java.lang.String getPortName();
025        
026        /**
027         * Gets (as xml) the "port-name" element
028         */
029        org.apache.xmlbeans.XmlString xgetPortName();
030        
031        /**
032         * Sets the "port-name" element
033         */
034        void setPortName(java.lang.String portName);
035        
036        /**
037         * Sets (as xml) the "port-name" element
038         */
039        void xsetPortName(org.apache.xmlbeans.XmlString portName);
040        
041        /**
042         * Gets the "protocol" element
043         */
044        java.lang.String getProtocol();
045        
046        /**
047         * Gets (as xml) the "protocol" element
048         */
049        org.apache.xmlbeans.XmlString xgetProtocol();
050        
051        /**
052         * True if has "protocol" element
053         */
054        boolean isSetProtocol();
055        
056        /**
057         * Sets the "protocol" element
058         */
059        void setProtocol(java.lang.String protocol);
060        
061        /**
062         * Sets (as xml) the "protocol" element
063         */
064        void xsetProtocol(org.apache.xmlbeans.XmlString protocol);
065        
066        /**
067         * Unsets the "protocol" element
068         */
069        void unsetProtocol();
070        
071        /**
072         * Gets the "host" element
073         */
074        java.lang.String getHost();
075        
076        /**
077         * Gets (as xml) the "host" element
078         */
079        org.apache.xmlbeans.XmlString xgetHost();
080        
081        /**
082         * True if has "host" element
083         */
084        boolean isSetHost();
085        
086        /**
087         * Sets the "host" element
088         */
089        void setHost(java.lang.String host);
090        
091        /**
092         * Sets (as xml) the "host" element
093         */
094        void xsetHost(org.apache.xmlbeans.XmlString host);
095        
096        /**
097         * Unsets the "host" element
098         */
099        void unsetHost();
100        
101        /**
102         * Gets the "port" element
103         */
104        int getPort();
105        
106        /**
107         * Gets (as xml) the "port" element
108         */
109        org.apache.xmlbeans.XmlInt xgetPort();
110        
111        /**
112         * True if has "port" element
113         */
114        boolean isSetPort();
115        
116        /**
117         * Sets the "port" element
118         */
119        void setPort(int port);
120        
121        /**
122         * Sets (as xml) the "port" element
123         */
124        void xsetPort(org.apache.xmlbeans.XmlInt port);
125        
126        /**
127         * Unsets the "port" element
128         */
129        void unsetPort();
130        
131        /**
132         * Gets the "uri" element
133         */
134        java.lang.String getUri();
135        
136        /**
137         * Gets (as xml) the "uri" element
138         */
139        org.apache.xmlbeans.XmlString xgetUri();
140        
141        /**
142         * Sets the "uri" element
143         */
144        void setUri(java.lang.String uri);
145        
146        /**
147         * Sets (as xml) the "uri" element
148         */
149        void xsetUri(org.apache.xmlbeans.XmlString uri);
150        
151        /**
152         * Gets the "credentials-name" element
153         */
154        java.lang.String getCredentialsName();
155        
156        /**
157         * Gets (as xml) the "credentials-name" element
158         */
159        org.apache.xmlbeans.XmlString xgetCredentialsName();
160        
161        /**
162         * True if has "credentials-name" element
163         */
164        boolean isSetCredentialsName();
165        
166        /**
167         * Sets the "credentials-name" element
168         */
169        void setCredentialsName(java.lang.String credentialsName);
170        
171        /**
172         * Sets (as xml) the "credentials-name" element
173         */
174        void xsetCredentialsName(org.apache.xmlbeans.XmlString credentialsName);
175        
176        /**
177         * Unsets the "credentials-name" element
178         */
179        void unsetCredentialsName();
180        
181        /**
182         * A factory class with static methods for creating instances
183         * of this type.
184         */
185        
186        public static final class Factory
187        {
188            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType newInstance() {
189              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
190            
191            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType newInstance(org.apache.xmlbeans.XmlOptions options) {
192              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
193            
194            /** @param xmlAsString the string value to parse */
195            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
196              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
197            
198            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
199              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
200            
201            /** @param file the file from which to load an xml document */
202            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
203              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
204            
205            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
206              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
207            
208            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
209              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
210            
211            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
212              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
213            
214            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
215              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
216            
217            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
218              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
219            
220            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
221              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
222            
223            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
224              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
225            
226            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
227              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
228            
229            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
230              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
231            
232            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
233              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
234            
235            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
236              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
237            
238            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
239            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
240              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
241            
242            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
243            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
244              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
245            
246            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
247            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 {
248              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
249            
250            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
251            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 {
252              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
253            
254            private Factory() { } // No instance of this class allowed
255        }
256    }