|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.ws.processor.modeler.wsdl.ModelerUtils
class ModelerUtils
Utilities to be used by WSDLModeler
Constructor Summary | |
---|---|
ModelerUtils()
|
Method Summary | |
---|---|
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,
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 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ModelerUtils()
Method Detail |
---|
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, 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 to
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |