jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/FilterMessageImpl.java
changeset 23782 953bfc3fbe31
parent 16791 fe5141eabb0e
equal deleted inserted replaced
23403:85dbdc227c5e 23782:953bfc3fbe31
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   156     public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException {
   156     public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException {
   157         delegate.writeTo(contentHandler, errorHandler);
   157         delegate.writeTo(contentHandler, errorHandler);
   158     }
   158     }
   159 
   159 
   160     public Message copy() {
   160     public Message copy() {
   161         return delegate.copy();
   161         return delegate.copy().copyFrom(delegate);
   162     }
   162     }
   163 
   163 
   164     public @NotNull String getID(@NotNull WSBinding binding) {
   164     public @NotNull String getID(@NotNull WSBinding binding) {
   165         return delegate.getID(binding);
   165         return delegate.getID(binding);
   166     }
   166     }