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