List of usage examples for org.dom4j QName toString
public String toString()
From source file:org.openzal.zal.soap.InternalOverrideDocumentServiceImpl.java
License:Open Source License
@Override public void registerHandlers(DocumentDispatcher dispatcher) { // these are latest original handlers, they may be already overriden Map<org.dom4j.QName, DocumentHandler> oringinalHandlers = dispatcher.getHandlers(); mHandlerMapPublisher.receivedHandlerMap(oringinalHandlers); Map<QName, OverridenSoapHandler> services = mSoapService.getServices(); for (Map.Entry<QName, OverridenSoapHandler> entry : services.entrySet()) { QName qName = entry.getKey(); org.dom4j.QName zimbraQName = new org.dom4j.QName(qName.getName(), Namespace.get(qName.getNamespace())); DocumentHandler originalDocumentHandler = null; if (mOriginalHandlers.containsKey(zimbraQName)) { originalDocumentHandler = mOriginalHandlers.get(zimbraQName); entry.getValue().setOriginalHandler(unWrapHandler(originalDocumentHandler)); }//from w w w. j a v a 2 s. co m if (originalDocumentHandler != null) { dispatcher.registerHandler(zimbraQName, wrapHandler(entry.getValue(), originalDocumentHandler)); } else { ZimbraLog.extensions.warn("Unable to proxy SOAP Request: " + zimbraQName.toString()); } } }