javax.faces.application

## Class ViewResource

- java.lang.Object
- - javax.faces.application.ViewResource

- Direct Known Subclasses:
    Resource

      public abstract class ViewResource
      extends Object

  Superclass of `Resource` that is only for use with views.

  Since:
    2.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ViewResource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract URL` | `getURL()` Return an actual `URL` instance that refers to this resource instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ViewResource

          public ViewResource()

  - ### Method Detail

    - #### getURL

          public abstract URL getURL()

      Return an actual `URL` instance that refers to this resource instance.

      Returns:
        Return an actual `URL` instance that refers to this resource instance.
      Since:
        2.2

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.