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