| java.lang.Object com.sun.jbi.wsdl11wrapper.util.WrapperUtil
WrapperUtil | public class WrapperUtil (Code) | | |
WRAPPER_ATTRIBUTE_NAME | final public static String WRAPPER_ATTRIBUTE_NAME(Code) | | |
WRAPPER_ATTRIBUTE_TYPE | final public static String WRAPPER_ATTRIBUTE_TYPE(Code) | | |
WRAPPER_ATTRIBUTE_VERSION | final public static String WRAPPER_ATTRIBUTE_VERSION(Code) | | |
WRAPPER_ATTRIBUTE_VERSION_VALUE | final public static String WRAPPER_ATTRIBUTE_VERSION_VALUE(Code) | | |
WRAPPER_DEFAULT_NAMESPACE | final public static String WRAPPER_DEFAULT_NAMESPACE(Code) | | |
WRAPPER_DEFAULT_NAMESPACE_PREFIX | final public static String WRAPPER_DEFAULT_NAMESPACE_PREFIX(Code) | | Constants to build wsdl 1.1 wrapper, e.g. along the lines of
|
WRAPPER_MESSAGE | final public static String WRAPPER_MESSAGE(Code) | | |
createJBIMessageWrapper | public static Element createJBIMessageWrapper(Document normalDoc, QName type, String name)(Code) | | Creates and returns a JBI message wrapper element. Does NOT add the created element to the normalDoc
- nor does it popluate the wrapper element with a payload
Parameters: normalDoc - The target document of the normalization Parameters: type - qualified message name defined in the portmap definition for a given message Parameters: name - optional name attribute defined in the portmap definition for a given message the jbi message wrapper element |
createJBIWrappedPart | public static Element createJBIWrappedPart(Document normalDoc, NodeList part)(Code) | | Creates and returns a JBI part wrapper element. Does NOT add the created element to the normalDoc.
Parameters: normalDoc - The target document of the normalization Parameters: partName - the name of the part Parameters: part - the part payload which must be created by normalDoc |
createJBIWrappedPart | public static Element createJBIWrappedPart(Document normalDoc, Node part)(Code) | | Creates and returns a JBI part wrapper element. Does NOT add the created element to the normalDoc.
Parameters: normalDoc - The target document of the normalization Parameters: partName - the name of the part Parameters: part - the part payload which must be created by normalDoc |
getPartElement | public static Element getPartElement(Document wrappedDoc) throws WrapperProcessingException(Code) | | Returns only the first Element inside the part wrapper
Legally, the jbi:part may contain multiple Elements, or text - but
in many cases the WSDL will limit this to one element.
(a jbi:part element may legally contain multiple Elements, or text)
Parameters: wrappedDoc - the wrapped document the first Element in the normalized message part, null if no element is present throws: WrapperProcessingException - if the part could not be returned |
importJBIWrappedPart | public static Element importJBIWrappedPart(Document normalDoc, NodeList part)(Code) | | Creates and returns a JBI part wrapper element. Does NOT add the created element to the normalDoc.
Parameters: normalDoc - The target document of the normalization Parameters: partName - the name of the part Parameters: part - the part payload which need not be created by normalDoc |
importJBIWrappedPart | public static Element importJBIWrappedPart(Document normalDoc, Node part)(Code) | | Creates and returns a JBI part wrapper element. Does NOT add the created element to the normalDoc.
Parameters: normalDoc - The target document of the normalization Parameters: partName - the name of the part Parameters: part - the part payload which need not be created by normalDoc |
|
|