001 /*
002 * XML Type: transportAddressType
003 * Namespace: http://openejb.apache.org/xml/ns/corba-tss-config-2.1
004 * Java type: org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.corba.xbeans.csiv2.tss;
009
010
011 /**
012 * An XML transportAddressType(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1).
013 *
014 * This is an atomic type that is a restriction of org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType.
015 */
016 public interface TSSTransportAddressType 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(TSSTransportAddressType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("transportaddresstype11edtype");
020
021 /**
022 * Gets the "port" attribute
023 */
024 short getPort();
025
026 /**
027 * Gets (as xml) the "port" attribute
028 */
029 org.apache.xmlbeans.XmlShort xgetPort();
030
031 /**
032 * True if has "port" attribute
033 */
034 boolean isSetPort();
035
036 /**
037 * Sets the "port" attribute
038 */
039 void setPort(short port);
040
041 /**
042 * Sets (as xml) the "port" attribute
043 */
044 void xsetPort(org.apache.xmlbeans.XmlShort port);
045
046 /**
047 * Unsets the "port" attribute
048 */
049 void unsetPort();
050
051 /**
052 * Gets the "hostname" attribute
053 */
054 java.lang.String getHostname();
055
056 /**
057 * Gets (as xml) the "hostname" attribute
058 */
059 org.apache.xmlbeans.XmlString xgetHostname();
060
061 /**
062 * True if has "hostname" attribute
063 */
064 boolean isSetHostname();
065
066 /**
067 * Sets the "hostname" attribute
068 */
069 void setHostname(java.lang.String hostname);
070
071 /**
072 * Sets (as xml) the "hostname" attribute
073 */
074 void xsetHostname(org.apache.xmlbeans.XmlString hostname);
075
076 /**
077 * Unsets the "hostname" attribute
078 */
079 void unsetHostname();
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.corba.xbeans.csiv2.tss.TSSTransportAddressType newInstance() {
089 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
090
091 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType newInstance(org.apache.xmlbeans.XmlOptions options) {
092 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
093
094 /** @param xmlAsString the string value to parse */
095 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
096 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
097
098 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
099 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) 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.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
103 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
104
105 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
106 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
107
108 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
109 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
110
111 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
112 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
113
114 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
115 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
116
117 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
119
120 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
122
123 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
125
126 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
127 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
128
129 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
130 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
131
132 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
133 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
134
135 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
136 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) 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.corba.xbeans.csiv2.tss.TSSTransportAddressType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
140 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTransportAddressType) 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.corba.xbeans.csiv2.tss.TSSTransportAddressType 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.corba.xbeans.csiv2.tss.TSSTransportAddressType) 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 }