public virtual JDFQueue copyToResponse(JDFResponse resp, JDFQueueFilter filter) { if (resp == null) { return(null); } resp.removeChildren(ElementName.QUEUE, null, null); JDFQueue newQueue = (JDFQueue)resp.copyElement(this, null); if (filter != null) { filter.match(newQueue); } return(newQueue); }