Polishing
This commit is contained in:
parent
45b2f5bac4
commit
7b1010cf61
|
@ -37,20 +37,20 @@ import java.net.URL;
|
||||||
* @see #getFile()
|
* @see #getFile()
|
||||||
* @see WritableResource
|
* @see WritableResource
|
||||||
* @see ContextResource
|
* @see ContextResource
|
||||||
* @see FileSystemResource
|
|
||||||
* @see ClassPathResource
|
|
||||||
* @see UrlResource
|
* @see UrlResource
|
||||||
|
* @see ClassPathResource
|
||||||
|
* @see FileSystemResource
|
||||||
|
* @see PathResource
|
||||||
* @see ByteArrayResource
|
* @see ByteArrayResource
|
||||||
* @see InputStreamResource
|
* @see InputStreamResource
|
||||||
* @see PathResource
|
|
||||||
*/
|
*/
|
||||||
public interface Resource extends InputStreamSource {
|
public interface Resource extends InputStreamSource {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether this resource actually exists in physical form.
|
* Determine whether this resource actually exists in physical form.
|
||||||
* <p>This method performs a definitive existence check, whereas the
|
* <p>This method performs a definitive existence check, whereas the
|
||||||
* existence of a {@code Resource} handle only guarantees a
|
* existence of a {@code Resource} handle only guarantees a valid
|
||||||
* valid descriptor handle.
|
* descriptor handle.
|
||||||
*/
|
*/
|
||||||
boolean exists();
|
boolean exists();
|
||||||
|
|
||||||
|
|
|
@ -326,7 +326,8 @@ public enum HttpStatus {
|
||||||
/**
|
/**
|
||||||
* {@code 451 Unavailable For Legal Reasons}.
|
* {@code 451 Unavailable For Legal Reasons}.
|
||||||
* @see <a href="https://tools.ietf.org/html/draft-ietf-httpbis-legally-restricted-status-04">
|
* @see <a href="https://tools.ietf.org/html/draft-ietf-httpbis-legally-restricted-status-04">
|
||||||
* An HTTP Status Code to Report Legal Obstacles</a>
|
* An HTTP Status Code to Report Legal Obstacles</a>
|
||||||
|
* @since 4.3
|
||||||
*/
|
*/
|
||||||
UNAVAILABLE_FOR_LEGAL_REASONS(451, "Unavailable For Legal Reasons"),
|
UNAVAILABLE_FOR_LEGAL_REASONS(451, "Unavailable For Legal Reasons"),
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,6 @@ public class XsltView extends AbstractUrlBasedView {
|
||||||
* to build the TransformerFactory for this view.
|
* to build the TransformerFactory for this view.
|
||||||
*/
|
*/
|
||||||
public void setTransformerFactoryClass(Class<? extends TransformerFactory> transformerFactoryClass) {
|
public void setTransformerFactoryClass(Class<? extends TransformerFactory> transformerFactoryClass) {
|
||||||
Assert.isAssignable(TransformerFactory.class, transformerFactoryClass);
|
|
||||||
this.transformerFactoryClass = transformerFactoryClass;
|
this.transformerFactoryClass = transformerFactoryClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue