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

com.sun.jbi.wsdl2.Endpoint Maven / Gradle / Ivy

The newest version!
/*
 * BEGIN_HEADER - DO NOT EDIT
 *
 * The contents of this file are subject to the terms
 * of the Common Development and Distribution License
 * (the "License").  You may not use this file except
 * in compliance with the License.
 *
 * You can obtain a copy of the license at
 * https://open-esb.dev.java.net/public/CDDLv1.0.html.
 * See the License for the specific language governing
 * permissions and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL
 * HEADER in each file and include the License file at
 * https://open-esb.dev.java.net/public/CDDLv1.0.html.
 * If applicable add the following below this CDDL HEADER,
 * with the fields enclosed by brackets "[]" replaced with
 * your own identifying information: Portions Copyright
 * [year] [name of copyright owner]
 */

/*
 * @(#)Endpoint.java
 * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
 *
 * END_HEADER - DO NOT EDIT
 */
package com.sun.jbi.wsdl2;

import org.w3c.dom.DocumentFragment;

/**
 * API for  WSDL 2.0 Endpoint component.
 *
 * @author ApiGen AX.00
 */
public interface Endpoint extends ExtensibleDocumentedComponent
{
    /**
     * Get name of this endpoint component.
     *
     * @return Name of this endpoint component
     */
    String getName();

    /**
     * Set name of this endpoint component.
     *
     * @param theName Name of this endpoint component
     */
    void setName(String theName);

    /**
     * Get binding for this endpoint.
     *
     * @return Binding for this endpoint
     */
    Binding getBinding();

    /**
     * Set binding for this endpoint.
     *
     * @param theBinding Binding for this endpoint
     */
    void setBinding(Binding theBinding);

    /**
     * Return this WSDL endpoint as an XML string.
     *
     * @return This endpoint, serialized as an XML string.
     */
    String toXmlString();

    /**
     * Return this endpoint as a DOM document fragment. The DOM subtree is a
     * copy; altering it will not affect this endpoint.
     *
     * @return This endpoint, as a DOM document fragment.
     */
    DocumentFragment toXmlDocumentFragment();

}

// End-of-file: Endpoint.java




© 2015 - 2025 Weber Informatics LLC | Privacy Policy