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