001 /* 002 * An XML document type. 003 * Localname: javabean 004 * Namespace: http://geronimo.apache.org/xml/ns/deployment/javabean-1.0 005 * Java type: org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009 package org.apache.geronimo.deployment.javabean.xbeans; 010 011 012 /** 013 * A document containing one javabean(@http://geronimo.apache.org/xml/ns/deployment/javabean-1.0) element. 014 * 015 * This is a complex type. 016 */ 017 public interface JavabeanDocument 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(JavabeanDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s428F6F412C3D7FF587AC6A8696D0654D").resolveHandle("javabean2742doctype"); 021 022 /** 023 * Gets the "javabean" element 024 */ 025 org.apache.geronimo.deployment.javabean.xbeans.JavabeanType getJavabean(); 026 027 /** 028 * Sets the "javabean" element 029 */ 030 void setJavabean(org.apache.geronimo.deployment.javabean.xbeans.JavabeanType javabean); 031 032 /** 033 * Appends and returns a new empty "javabean" element 034 */ 035 org.apache.geronimo.deployment.javabean.xbeans.JavabeanType addNewJavabean(); 036 037 /** 038 * A factory class with static methods for creating instances 039 * of this type. 040 */ 041 042 public static final class Factory 043 { 044 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument newInstance() { 045 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 046 047 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 048 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 049 050 /** @param xmlAsString the string value to parse */ 051 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 052 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 053 054 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 055 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 056 057 /** @param file the file from which to load an xml document */ 058 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 059 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 060 061 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 062 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 063 064 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 065 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 066 067 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 068 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 069 070 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 071 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 072 073 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 074 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 075 076 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 077 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 078 079 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 080 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 081 082 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 083 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 084 085 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 086 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 087 088 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 089 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 090 091 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 092 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 093 094 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 095 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 096 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 097 098 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 099 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 100 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 101 102 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 103 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 { 104 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 105 106 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 107 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 { 108 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 109 110 private Factory() { } // No instance of this class allowed 111 } 112 }