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