001    /*
002     * XML Type:  port-completionType
003     * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004     * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.naming;
009    
010    
011    /**
012     * An XML port-completionType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013     *
014     * This is a complex type.
015     */
016    public interface GerPortCompletionType 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(GerPortCompletionType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("portcompletiontype5d02type");
020        
021        /**
022         * Gets the "port" element
023         */
024        org.apache.geronimo.xbeans.geronimo.naming.GerPortType getPort();
025        
026        /**
027         * Sets the "port" element
028         */
029        void setPort(org.apache.geronimo.xbeans.geronimo.naming.GerPortType port);
030        
031        /**
032         * Appends and returns a new empty "port" element
033         */
034        org.apache.geronimo.xbeans.geronimo.naming.GerPortType addNewPort();
035        
036        /**
037         * Gets the "binding-name" element
038         */
039        java.lang.String getBindingName();
040        
041        /**
042         * Gets (as xml) the "binding-name" element
043         */
044        org.apache.xmlbeans.XmlString xgetBindingName();
045        
046        /**
047         * Sets the "binding-name" element
048         */
049        void setBindingName(java.lang.String bindingName);
050        
051        /**
052         * Sets (as xml) the "binding-name" element
053         */
054        void xsetBindingName(org.apache.xmlbeans.XmlString bindingName);
055        
056        /**
057         * A factory class with static methods for creating instances
058         * of this type.
059         */
060        
061        public static final class Factory
062        {
063            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType newInstance() {
064              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
065            
066            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType newInstance(org.apache.xmlbeans.XmlOptions options) {
067              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
068            
069            /** @param xmlAsString the string value to parse */
070            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
071              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
072            
073            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
074              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
075            
076            /** @param file the file from which to load an xml document */
077            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
078              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
079            
080            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
081              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
082            
083            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
084              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
085            
086            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
087              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
088            
089            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
090              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
091            
092            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
093              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
094            
095            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
096              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
097            
098            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
099              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
100            
101            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
102              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
103            
104            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
105              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
106            
107            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
108              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
109            
110            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
111              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
112            
113            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
114            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
115              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
116            
117            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
118            public static org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
119              return (org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
120            
121            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
122            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 {
123              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
124            
125            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
126            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 {
127              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
128            
129            private Factory() { } // No instance of this class allowed
130        }
131    }