001 /* 002 * XML Type: resource-locatorType 003 * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.naming; 009 010 011 /** 012 * An XML resource-locatorType(@http://geronimo.apache.org/xml/ns/naming-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerResourceLocatorType extends org.apache.xmlbeans.XmlObject 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerResourceLocatorType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("resourcelocatortype3c01type"); 020 021 /** 022 * Gets the "pattern" element 023 */ 024 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPattern(); 025 026 /** 027 * True if has "pattern" element 028 */ 029 boolean isSetPattern(); 030 031 /** 032 * Sets the "pattern" element 033 */ 034 void setPattern(org.apache.geronimo.xbeans.geronimo.naming.GerPatternType pattern); 035 036 /** 037 * Appends and returns a new empty "pattern" element 038 */ 039 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType addNewPattern(); 040 041 /** 042 * Unsets the "pattern" element 043 */ 044 void unsetPattern(); 045 046 /** 047 * Gets the "resource-link" element 048 */ 049 java.lang.String getResourceLink(); 050 051 /** 052 * Gets (as xml) the "resource-link" element 053 */ 054 org.apache.xmlbeans.XmlString xgetResourceLink(); 055 056 /** 057 * True if has "resource-link" element 058 */ 059 boolean isSetResourceLink(); 060 061 /** 062 * Sets the "resource-link" element 063 */ 064 void setResourceLink(java.lang.String resourceLink); 065 066 /** 067 * Sets (as xml) the "resource-link" element 068 */ 069 void xsetResourceLink(org.apache.xmlbeans.XmlString resourceLink); 070 071 /** 072 * Unsets the "resource-link" element 073 */ 074 void unsetResourceLink(); 075 076 /** 077 * Gets the "url" element 078 */ 079 java.lang.String getUrl(); 080 081 /** 082 * Gets (as xml) the "url" element 083 */ 084 org.apache.xmlbeans.XmlString xgetUrl(); 085 086 /** 087 * True if has "url" element 088 */ 089 boolean isSetUrl(); 090 091 /** 092 * Sets the "url" element 093 */ 094 void setUrl(java.lang.String url); 095 096 /** 097 * Sets (as xml) the "url" element 098 */ 099 void xsetUrl(org.apache.xmlbeans.XmlString url); 100 101 /** 102 * Unsets the "url" element 103 */ 104 void unsetUrl(); 105 106 /** 107 * A factory class with static methods for creating instances 108 * of this type. 109 */ 110 111 public static final class Factory 112 { 113 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType newInstance() { 114 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 115 116 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType newInstance(org.apache.xmlbeans.XmlOptions options) { 117 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 118 119 /** @param xmlAsString the string value to parse */ 120 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 121 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 122 123 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 124 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 125 126 /** @param file the file from which to load an xml document */ 127 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 128 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 129 130 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 131 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 132 133 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 134 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 135 136 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 137 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 138 139 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 140 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 141 142 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 143 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 144 145 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 146 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 147 148 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 149 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 150 151 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 152 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 153 154 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 155 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 156 157 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 158 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 159 160 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 161 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 162 163 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 164 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 165 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 166 167 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 168 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 169 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceLocatorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 170 171 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 172 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 { 173 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 174 175 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 176 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 { 177 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 178 179 private Factory() { } // No instance of this class allowed 180 } 181 }