001/* 002 * An XML document type. 003 * Localname: props 004 * Namespace: http://www.springframework.org/schema/beans 005 * Java type: org.springframework.schema.beans.PropsDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009package org.springframework.schema.beans; 010 011 012/** 013 * A document containing one props(@http://www.springframework.org/schema/beans) element. 014 * 015 * This is a complex type. 016 */ 017public interface PropsDocument 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(PropsDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("props883ddoctype"); 021 022 /** 023 * Gets the "props" element 024 */ 025 org.springframework.schema.beans.PropsDocument.Props getProps(); 026 027 /** 028 * Sets the "props" element 029 */ 030 void setProps(org.springframework.schema.beans.PropsDocument.Props props); 031 032 /** 033 * Appends and returns a new empty "props" element 034 */ 035 org.springframework.schema.beans.PropsDocument.Props addNewProps(); 036 037 /** 038 * An XML props(@http://www.springframework.org/schema/beans). 039 * 040 * This is a complex type. 041 */ 042 public interface Props extends org.springframework.schema.beans.PropsType 043 { 044 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 045 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Props.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("propsf219elemtype"); 046 047 /** 048 * Gets the "merge" attribute 049 */ 050 org.springframework.schema.beans.DefaultableBoolean.Enum getMerge(); 051 052 /** 053 * Gets (as xml) the "merge" attribute 054 */ 055 org.springframework.schema.beans.DefaultableBoolean xgetMerge(); 056 057 /** 058 * True if has "merge" attribute 059 */ 060 boolean isSetMerge(); 061 062 /** 063 * Sets the "merge" attribute 064 */ 065 void setMerge(org.springframework.schema.beans.DefaultableBoolean.Enum merge); 066 067 /** 068 * Sets (as xml) the "merge" attribute 069 */ 070 void xsetMerge(org.springframework.schema.beans.DefaultableBoolean merge); 071 072 /** 073 * Unsets the "merge" attribute 074 */ 075 void unsetMerge(); 076 077 /** 078 * A factory class with static methods for creating instances 079 * of this type. 080 */ 081 082 public static final class Factory 083 { 084 public static org.springframework.schema.beans.PropsDocument.Props newInstance() { 085 return (org.springframework.schema.beans.PropsDocument.Props) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 086 087 public static org.springframework.schema.beans.PropsDocument.Props newInstance(org.apache.xmlbeans.XmlOptions options) { 088 return (org.springframework.schema.beans.PropsDocument.Props) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 089 090 private Factory() { } // No instance of this class allowed 091 } 092 } 093 094 /** 095 * A factory class with static methods for creating instances 096 * of this type. 097 */ 098 099 public static final class Factory 100 { 101 public static org.springframework.schema.beans.PropsDocument newInstance() { 102 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 103 104 public static org.springframework.schema.beans.PropsDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 105 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 106 107 /** @param xmlAsString the string value to parse */ 108 public static org.springframework.schema.beans.PropsDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 109 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 110 111 public static org.springframework.schema.beans.PropsDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 112 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 113 114 /** @param file the file from which to load an xml document */ 115 public static org.springframework.schema.beans.PropsDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 116 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 117 118 public static org.springframework.schema.beans.PropsDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 119 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 120 121 public static org.springframework.schema.beans.PropsDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 122 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 123 124 public static org.springframework.schema.beans.PropsDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 125 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 126 127 public static org.springframework.schema.beans.PropsDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 128 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 129 130 public static org.springframework.schema.beans.PropsDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 131 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 132 133 public static org.springframework.schema.beans.PropsDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 134 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 135 136 public static org.springframework.schema.beans.PropsDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 137 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 138 139 public static org.springframework.schema.beans.PropsDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 140 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 141 142 public static org.springframework.schema.beans.PropsDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 143 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 144 145 public static org.springframework.schema.beans.PropsDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 146 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 147 148 public static org.springframework.schema.beans.PropsDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 149 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 150 151 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 152 public static org.springframework.schema.beans.PropsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 153 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 154 155 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 156 public static org.springframework.schema.beans.PropsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 157 return (org.springframework.schema.beans.PropsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 158 159 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 160 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 { 161 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 162 163 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 164 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 { 165 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 166 167 private Factory() { } // No instance of this class allowed 168 } 169}