diff --git a/core/src/main/java/org/springframework/ws/WebServiceMessage.java b/core/src/main/java/org/springframework/ws/WebServiceMessage.java index 33cefad6..975658da 100644 --- a/core/src/main/java/org/springframework/ws/WebServiceMessage.java +++ b/core/src/main/java/org/springframework/ws/WebServiceMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 the original author or authors. + * Copyright 2005-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ import javax.xml.transform.Source; /** * Represents a protocol-agnostic XML message. - *

- * Contains methods that provide access to the payload of the message. + * + *

Contains methods that provide access to the payload of the message. * * @author Arjen Poutsma * @see org.springframework.ws.soap.SoapMessage @@ -34,8 +34,8 @@ public interface WebServiceMessage { /** * Returns the contents of the message as a {@link Source}. - *

- * Depending on the implementation, this can be retrieved multiple times, or just a single time. + *

Depending on the implementation, this can be retrieved multiple times, + * or just a single time. * * @return the message contents */ @@ -43,8 +43,7 @@ public interface WebServiceMessage { /** * Returns the contents of the message as a {@link Result}. - *

- * Implementations that are read-only will throw an {@link UnsupportedOperationException}. + *

Implementations that are read-only will throw an {@link UnsupportedOperationException}. * * @return the message contents * @throws UnsupportedOperationException if the message is read-only @@ -52,8 +51,10 @@ public interface WebServiceMessage { Result getPayloadResult(); /** - * Writes the entire message to the given output stream. If the given stream is an instance of {@link - * org.springframework.ws.transport.TransportOutputStream}, the corresponding headers will be writen as well. + * Writes the entire message to the given output stream. + *

If the given stream is an instance of + * {@link org.springframework.ws.transport.TransportOutputStream}, the + * corresponding headers will be written as well. * * @param outputStream the stream to write to * @throws IOException if an I/O exception occurs @@ -63,14 +64,15 @@ public interface WebServiceMessage { /** * Does this message have a fault? * - * @return true if the message has a fault; false otherwise + * @return true if the message has a fault. * @see #getFaultReason() */ boolean hasFault(); /** - * Returns the fault reason message, if any. Returns null when no fault is present. + * Returns the fault reason message. * + * @return the fault reason message, if any; returns null when no fault is present. * @see #hasFault() */ String getFaultReason();