public void marshall(Class parentType, QName elementType, ExtensibilityElement extension, Node parentNode, Process process, ExtensionRegistry extReg) throws WSDLException {
Map nsMap = ((BPELResource)process.eResource()).getPrefixToNamespaceMap();
Element unknownElement = null;
if (elementType.getLocalPart().equals("extensibilityAttributes")) {
UnknownExtensibilityElement unknownExt = (UnknownExtensibilityElement) extension;
DOMUtil.copyInto(unknownExt.getElement(), parentNode);
} else {
UnknownExtensibilityElement unknownExt = (UnknownExtensibilityElement) extension;
unknownElement = unknownExt.getElement();
}
if (unknownElement != null) {
StringWriter writer = new StringWriter();
writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");