001 /* 002 * XML Type: attributeType 003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2 004 * Java type: org.apache.geronimo.deployment.xbeans.AttributeType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.deployment.xbeans; 009 010 011 /** 012 * An XML attributeType(@http://geronimo.apache.org/xml/ns/deployment-1.2). 013 * 014 * This is an atomic type that is a restriction of org.apache.geronimo.deployment.xbeans.AttributeType. 015 */ 016 public interface AttributeType 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(AttributeType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s428F6F412C3D7FF587AC6A8696D0654D").resolveHandle("attributetype4d0btype"); 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 * True if has "name" attribute 033 */ 034 boolean isSetName(); 035 036 /** 037 * Sets the "name" attribute 038 */ 039 void setName(java.lang.String name); 040 041 /** 042 * Sets (as xml) the "name" attribute 043 */ 044 void xsetName(org.apache.xmlbeans.XmlString name); 045 046 /** 047 * Unsets the "name" attribute 048 */ 049 void unsetName(); 050 051 /** 052 * Gets the "type" attribute 053 */ 054 java.lang.String getType(); 055 056 /** 057 * Gets (as xml) the "type" attribute 058 */ 059 org.apache.xmlbeans.XmlString xgetType(); 060 061 /** 062 * True if has "type" attribute 063 */ 064 boolean isSetType(); 065 066 /** 067 * Sets the "type" attribute 068 */ 069 void setType(java.lang.String type); 070 071 /** 072 * Sets (as xml) the "type" attribute 073 */ 074 void xsetType(org.apache.xmlbeans.XmlString type); 075 076 /** 077 * Unsets the "type" attribute 078 */ 079 void unsetType(); 080 081 /** 082 * A factory class with static methods for creating instances 083 * of this type. 084 */ 085 086 public static final class Factory 087 { 088 public static org.apache.geronimo.deployment.xbeans.AttributeType newInstance() { 089 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 090 091 public static org.apache.geronimo.deployment.xbeans.AttributeType newInstance(org.apache.xmlbeans.XmlOptions options) { 092 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 093 094 /** @param xmlAsString the string value to parse */ 095 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 096 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 097 098 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 099 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 100 101 /** @param file the file from which to load an xml document */ 102 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 103 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 104 105 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 106 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 107 108 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 109 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 110 111 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 112 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 113 114 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 115 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 116 117 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 118 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 119 120 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 121 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 122 123 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 124 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 125 126 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 127 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 128 129 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 130 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 131 132 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 133 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 134 135 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 136 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 137 138 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 139 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 140 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 141 142 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 143 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 144 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 145 146 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 147 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 { 148 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 149 150 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 151 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 { 152 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 153 154 private Factory() { } // No instance of this class allowed 155 } 156 }