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