All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument Maven / Gradle / Ivy

There is a newer version: 6.1.3
Show newest version
/*
 * An XML document type.
 * Localname: gateway-config
 * Namespace: http://xmlns.kaazing.org/2014/09/gateway
 * Java type: org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument
 *
 * Automatically generated - do not modify.
 */
package org.kaazing.gateway.server.config.sep2014;


/**
 * A document containing one gateway-config(@http://xmlns.kaazing.org/2014/09/gateway) element.
 *
 * This is a complex type.
 */
public interface GatewayConfigDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GatewayConfigDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sF94C79179A91E419F1602065136CA289").resolveHandle("gatewayconfigde7edoctype");
    
    /**
     * Gets the "gateway-config" element
     */
    org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig getGatewayConfig();
    
    /**
     * Sets the "gateway-config" element
     */
    void setGatewayConfig(org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig gatewayConfig);
    
    /**
     * Appends and returns a new empty "gateway-config" element
     */
    org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig addNewGatewayConfig();
    
    /**
     * An XML gateway-config(@http://xmlns.kaazing.org/2014/09/gateway).
     *
     * This is a complex type.
     */
    public interface GatewayConfig extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GatewayConfig.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sF94C79179A91E419F1602065136CA289").resolveHandle("gatewayconfig8945elemtype");
        
        /**
         * Gets the "properties" element
         */
        org.kaazing.gateway.server.config.sep2014.PropertiesType getProperties();
        
        /**
         * True if has "properties" element
         */
        boolean isSetProperties();
        
        /**
         * Sets the "properties" element
         */
        void setProperties(org.kaazing.gateway.server.config.sep2014.PropertiesType properties);
        
        /**
         * Appends and returns a new empty "properties" element
         */
        org.kaazing.gateway.server.config.sep2014.PropertiesType addNewProperties();
        
        /**
         * Unsets the "properties" element
         */
        void unsetProperties();
        
        /**
         * Gets array of all "service" elements
         */
        org.kaazing.gateway.server.config.sep2014.ServiceType[] getServiceArray();
        
        /**
         * Gets ith "service" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceType getServiceArray(int i);
        
        /**
         * Returns number of "service" element
         */
        int sizeOfServiceArray();
        
        /**
         * Sets array of all "service" element
         */
        void setServiceArray(org.kaazing.gateway.server.config.sep2014.ServiceType[] serviceArray);
        
        /**
         * Sets ith "service" element
         */
        void setServiceArray(int i, org.kaazing.gateway.server.config.sep2014.ServiceType service);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "service" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceType insertNewService(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "service" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceType addNewService();
        
        /**
         * Removes the ith "service" element
         */
        void removeService(int i);
        
        /**
         * Gets array of all "service-defaults" elements
         */
        org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType[] getServiceDefaultsArray();
        
        /**
         * Gets ith "service-defaults" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType getServiceDefaultsArray(int i);
        
        /**
         * Returns number of "service-defaults" element
         */
        int sizeOfServiceDefaultsArray();
        
        /**
         * Sets array of all "service-defaults" element
         */
        void setServiceDefaultsArray(org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType[] serviceDefaultsArray);
        
        /**
         * Sets ith "service-defaults" element
         */
        void setServiceDefaultsArray(int i, org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType serviceDefaults);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "service-defaults" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType insertNewServiceDefaults(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "service-defaults" element
         */
        org.kaazing.gateway.server.config.sep2014.ServiceDefaultsType addNewServiceDefaults();
        
        /**
         * Removes the ith "service-defaults" element
         */
        void removeServiceDefaults(int i);
        
        /**
         * Gets array of all "security" elements
         */
        org.kaazing.gateway.server.config.sep2014.SecurityType[] getSecurityArray();
        
        /**
         * Gets ith "security" element
         */
        org.kaazing.gateway.server.config.sep2014.SecurityType getSecurityArray(int i);
        
        /**
         * Returns number of "security" element
         */
        int sizeOfSecurityArray();
        
        /**
         * Sets array of all "security" element
         */
        void setSecurityArray(org.kaazing.gateway.server.config.sep2014.SecurityType[] securityArray);
        
        /**
         * Sets ith "security" element
         */
        void setSecurityArray(int i, org.kaazing.gateway.server.config.sep2014.SecurityType security);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "security" element
         */
        org.kaazing.gateway.server.config.sep2014.SecurityType insertNewSecurity(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "security" element
         */
        org.kaazing.gateway.server.config.sep2014.SecurityType addNewSecurity();
        
        /**
         * Removes the ith "security" element
         */
        void removeSecurity(int i);
        
        /**
         * Gets array of all "cluster" elements
         */
        org.kaazing.gateway.server.config.sep2014.ClusterType[] getClusterArray();
        
        /**
         * Gets ith "cluster" element
         */
        org.kaazing.gateway.server.config.sep2014.ClusterType getClusterArray(int i);
        
        /**
         * Returns number of "cluster" element
         */
        int sizeOfClusterArray();
        
        /**
         * Sets array of all "cluster" element
         */
        void setClusterArray(org.kaazing.gateway.server.config.sep2014.ClusterType[] clusterArray);
        
        /**
         * Sets ith "cluster" element
         */
        void setClusterArray(int i, org.kaazing.gateway.server.config.sep2014.ClusterType cluster);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "cluster" element
         */
        org.kaazing.gateway.server.config.sep2014.ClusterType insertNewCluster(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "cluster" element
         */
        org.kaazing.gateway.server.config.sep2014.ClusterType addNewCluster();
        
        /**
         * Removes the ith "cluster" element
         */
        void removeCluster(int i);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig newInstance() {
              return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument.GatewayConfig) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument newInstance() {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.kaazing.gateway.server.config.sep2014.GatewayConfigDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        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 {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        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 {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy