class ModelerUtils extends Object
| Constructor and Description |
|---|
ModelerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static JAXBStructuredType |
createJAXBStructureType(JAXBType jaxbType)
This method should be called incase of wrapper style operations.
|
static Parameter |
createParameter(String partName,
AbstractType jaxbType,
Block block)
Called for non-wrapper style operations.
|
static List<Parameter> |
createRpcLitParameters(Message message,
Block block,
com.sun.tools.xjc.api.S2JJAXBModel jaxbModel,
ErrorReceiverFilter errReceiver) |
static List<Parameter> |
createUnwrappedParameters(JAXBType jaxbType,
Block block)
This method uses JAXBStructured type (wrapper style operations) and
unwraps it to create list of parameters.
|
static Parameter |
getParameter(String paramName,
List<Parameter> parameters)
Get Parameter from the list of parameters.
|
static QName |
getRawTypeName(Parameter parameter) |
static boolean |
isBoundToMimeContent(MessagePart part) |
static boolean |
isBoundToSOAPBody(MessagePart part) |
static boolean |
isBoundToSOAPHeader(MessagePart part) |
static boolean |
isEquivalentLiteralStructures(JAXBStructuredType struct1,
JAXBStructuredType struct2)
Compares two JAXBStructures.
|
static boolean |
isUnbound(MessagePart part) |
public static JAXBStructuredType createJAXBStructureType(JAXBType jaxbType)
jaxbType - JAXBType from which a JAXBStructured type will be created.public static List<Parameter> createUnwrappedParameters(JAXBType jaxbType, Block block)
jaxbType - instance of JAXBType, could be JAXBStructured type.block - The Block (body/Header/Attachment) to which the created Parameter belong.public static List<Parameter> createRpcLitParameters(Message message, Block block, com.sun.tools.xjc.api.S2JJAXBModel jaxbModel, ErrorReceiverFilter errReceiver)
public static Parameter createParameter(String partName, AbstractType jaxbType, Block block)
partName - typically wsdl:part or any name to be given to the parameterjaxbType - type of Parameterblock - Block to which the parameter belongs topublic static Parameter getParameter(String paramName, List<Parameter> parameters)
paramName - parameters - public static boolean isEquivalentLiteralStructures(JAXBStructuredType struct1, JAXBStructuredType struct2)
struct1 - struct2 - public static boolean isBoundToMimeContent(MessagePart part)
part - public static boolean isBoundToSOAPBody(MessagePart part)
part - public static boolean isBoundToSOAPHeader(MessagePart part)
part - public static boolean isUnbound(MessagePart part)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.