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