001/* 002 * XML Type: metaType 003 * Namespace: http://www.springframework.org/schema/beans 004 * Java type: org.springframework.schema.beans.MetaType 005 * 006 * Automatically generated - do not modify. 007 */ 008package org.springframework.schema.beans; 009 010 011/** 012 * An XML metaType(@http://www.springframework.org/schema/beans). 013 * 014 * This is a complex type. 015 */ 016public interface MetaType 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(MetaType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("metatype7e6etype"); 020 021 /** 022 * Gets the "key" attribute 023 */ 024 java.lang.String getKey(); 025 026 /** 027 * Gets (as xml) the "key" attribute 028 */ 029 org.apache.xmlbeans.XmlString xgetKey(); 030 031 /** 032 * Sets the "key" attribute 033 */ 034 void setKey(java.lang.String key); 035 036 /** 037 * Sets (as xml) the "key" attribute 038 */ 039 void xsetKey(org.apache.xmlbeans.XmlString key); 040 041 /** 042 * Gets the "value" attribute 043 */ 044 java.lang.String getValue(); 045 046 /** 047 * Gets (as xml) the "value" attribute 048 */ 049 org.apache.xmlbeans.XmlString xgetValue(); 050 051 /** 052 * Sets the "value" attribute 053 */ 054 void setValue(java.lang.String value); 055 056 /** 057 * Sets (as xml) the "value" attribute 058 */ 059 void xsetValue(org.apache.xmlbeans.XmlString value); 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.MetaType newInstance() { 069 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 070 071 public static org.springframework.schema.beans.MetaType newInstance(org.apache.xmlbeans.XmlOptions options) { 072 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 073 074 /** @param xmlAsString the string value to parse */ 075 public static org.springframework.schema.beans.MetaType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 076 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 077 078 public static org.springframework.schema.beans.MetaType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 079 return (org.springframework.schema.beans.MetaType) 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.MetaType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 083 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 084 085 public static org.springframework.schema.beans.MetaType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 086 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 087 088 public static org.springframework.schema.beans.MetaType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 089 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 090 091 public static org.springframework.schema.beans.MetaType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 092 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 093 094 public static org.springframework.schema.beans.MetaType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 095 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 096 097 public static org.springframework.schema.beans.MetaType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 098 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 099 100 public static org.springframework.schema.beans.MetaType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 101 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 102 103 public static org.springframework.schema.beans.MetaType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 104 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 105 106 public static org.springframework.schema.beans.MetaType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 107 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 108 109 public static org.springframework.schema.beans.MetaType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 110 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 111 112 public static org.springframework.schema.beans.MetaType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 113 return (org.springframework.schema.beans.MetaType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 114 115 public static org.springframework.schema.beans.MetaType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 116 return (org.springframework.schema.beans.MetaType) 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.MetaType 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.MetaType) 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.MetaType 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.MetaType) 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}