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.xmlbeans.XmlString. 015 */ 016 public interface AttributeType extends org.apache.xmlbeans.XmlString 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.s596967AB426BF091FD59326316BABB46.TypeSystemHolder.typeSystem.resolveHandle("attributetype4d0btype"); 019 020 /** 021 * Gets the "name" attribute 022 */ 023 java.lang.String getName(); 024 025 /** 026 * Gets (as xml) the "name" attribute 027 */ 028 org.apache.xmlbeans.XmlString xgetName(); 029 030 /** 031 * True if has "name" attribute 032 */ 033 boolean isSetName(); 034 035 /** 036 * Sets the "name" attribute 037 */ 038 void setName(java.lang.String name); 039 040 /** 041 * Sets (as xml) the "name" attribute 042 */ 043 void xsetName(org.apache.xmlbeans.XmlString name); 044 045 /** 046 * Unsets the "name" attribute 047 */ 048 void unsetName(); 049 050 /** 051 * Gets the "type" attribute 052 */ 053 java.lang.String getType(); 054 055 /** 056 * Gets (as xml) the "type" attribute 057 */ 058 org.apache.xmlbeans.XmlString xgetType(); 059 060 /** 061 * True if has "type" attribute 062 */ 063 boolean isSetType(); 064 065 /** 066 * Sets the "type" attribute 067 */ 068 void setType(java.lang.String type); 069 070 /** 071 * Sets (as xml) the "type" attribute 072 */ 073 void xsetType(org.apache.xmlbeans.XmlString type); 074 075 /** 076 * Unsets the "type" attribute 077 */ 078 void unsetType(); 079 080 /** 081 * A factory class with static methods for creating instances 082 * of this type. 083 */ 084 085 public static final class Factory 086 { 087 public static org.apache.geronimo.deployment.xbeans.AttributeType newInstance() { 088 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 089 090 public static org.apache.geronimo.deployment.xbeans.AttributeType newInstance(org.apache.xmlbeans.XmlOptions options) { 091 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 092 093 /** @param xmlAsString the string value to parse */ 094 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 095 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 096 097 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 098 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 099 100 /** @param file the file from which to load an xml document */ 101 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 102 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 103 104 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 { 105 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 106 107 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 108 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 109 110 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 { 111 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 112 113 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 114 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 115 116 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 { 117 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 118 119 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 120 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 121 122 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 { 123 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 124 125 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 126 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 127 128 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 129 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 130 131 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 132 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 133 134 public static org.apache.geronimo.deployment.xbeans.AttributeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 135 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 136 137 /** @deprecated {@link XMLInputStream} */ 138 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 { 139 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 140 141 /** @deprecated {@link XMLInputStream} */ 142 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 { 143 return (org.apache.geronimo.deployment.xbeans.AttributeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 144 145 /** @deprecated {@link XMLInputStream} */ 146 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 { 147 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 148 149 /** @deprecated {@link XMLInputStream} */ 150 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 { 151 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 152 153 private Factory() { } // No instance of this class allowed 154 } 155 }