Java Code Examples for com.sun.xml.internal.ws.api.model.ParameterBinding#UNBOUND

The following examples show how to use com.sun.xml.internal.ws.api.model.ParameterBinding#UNBOUND . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 2
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 3
Source File: WSDLBoundOperationImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getFaultBinding(String part){
    if(emptyFaultBody == null){
        if(faultParts.get(" ") != null)
            emptyFaultBody = true;
        else
            emptyFaultBody = false;
    }
    ParameterBinding block = faultParts.get(part);
    if(block == null){
        if(explicitFaultSOAPBodyParts || emptyFaultBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 4
Source File: WSDLBoundOperationImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 5
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getOutputBinding(String part){
    if(emptyOutputBody == null){
        if(outputParts.get(" ") != null)
            emptyOutputBody = true;
        else
            emptyOutputBody = false;
    }
    ParameterBinding block = outputParts.get(part);
    if(block == null){
        if(explicitOutputSOAPBodyParts || emptyOutputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 6
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 7
Source File: WSDLBoundOperationImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 8
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getFaultBinding(String part){
    if(emptyFaultBody == null){
        if(faultParts.get(" ") != null)
            emptyFaultBody = true;
        else
            emptyFaultBody = false;
    }
    ParameterBinding block = faultParts.get(part);
    if(block == null){
        if(explicitFaultSOAPBodyParts || emptyFaultBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 9
Source File: WSDLBoundOperationImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getOutputBinding(String part){
    if(emptyOutputBody == null){
        if(outputParts.get(" ") != null)
            emptyOutputBody = true;
        else
            emptyOutputBody = false;
    }
    ParameterBinding block = outputParts.get(part);
    if(block == null){
        if(explicitOutputSOAPBodyParts || emptyOutputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 10
Source File: WSDLBoundOperationImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 11
Source File: WSDLBoundOperationImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getFaultBinding(String part){
    if(emptyFaultBody == null){
        if(faultParts.get(" ") != null)
            emptyFaultBody = true;
        else
            emptyFaultBody = false;
    }
    ParameterBinding block = faultParts.get(part);
    if(block == null){
        if(explicitFaultSOAPBodyParts || emptyFaultBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 12
Source File: WSDLBoundOperationImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getOutputBinding(String part){
    if(emptyOutputBody == null){
        if(outputParts.get(" ") != null)
            emptyOutputBody = true;
        else
            emptyOutputBody = false;
    }
    ParameterBinding block = outputParts.get(part);
    if(block == null){
        if(explicitOutputSOAPBodyParts || emptyOutputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 13
Source File: WSDLBoundOperationImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 14
Source File: WSDLBoundOperationImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getOutputBinding(String part){
    if(emptyOutputBody == null){
        if(outputParts.get(" ") != null)
            emptyOutputBody = true;
        else
            emptyOutputBody = false;
    }
    ParameterBinding block = outputParts.get(part);
    if(block == null){
        if(explicitOutputSOAPBodyParts || emptyOutputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 15
Source File: WSDLBoundOperationImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getFaultBinding(String part){
    if(emptyFaultBody == null){
        if(faultParts.get(" ") != null)
            emptyFaultBody = true;
        else
            emptyFaultBody = false;
    }
    ParameterBinding block = faultParts.get(part);
    if(block == null){
        if(explicitFaultSOAPBodyParts || emptyFaultBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 16
Source File: WSDLBoundOperationImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input
 *
 * @param part Name of wsdl:part, must be non-null
 * @return null if the part is not found.
 */
public ParameterBinding getInputBinding(String part){
    if(emptyInputBody == null){
        if(inputParts.get(" ") != null)
            emptyInputBody = true;
        else
            emptyInputBody = false;
    }
    ParameterBinding block = inputParts.get(part);
    if(block == null){
        if(explicitInputSOAPBodyParts || emptyInputBody)
            return ParameterBinding.UNBOUND;
        return ParameterBinding.BODY;
    }

    return block;
}
 
Example 17
Source File: WSDLPartImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public WSDLPartImpl(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor) {
    super(xsr);
    this.name = partName;
    this.binding = ParameterBinding.UNBOUND;
    this.index = index;
    this.descriptor = descriptor;

}
 
Example 18
Source File: WSDLPartImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public WSDLPartImpl(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor) {
    super(xsr);
    this.name = partName;
    this.binding = ParameterBinding.UNBOUND;
    this.index = index;
    this.descriptor = descriptor;

}
 
Example 19
Source File: WSDLPartImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public WSDLPartImpl(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor) {
    super(xsr);
    this.name = partName;
    this.binding = ParameterBinding.UNBOUND;
    this.index = index;
    this.descriptor = descriptor;

}
 
Example 20
Source File: WSDLPartImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public WSDLPartImpl(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor) {
    super(xsr);
    this.name = partName;
    this.binding = ParameterBinding.UNBOUND;
    this.index = index;
    this.descriptor = descriptor;

}