Package org.zkoss.util.resource

## Class XMLResourcesLocator.Resource

- java.lang.Object
- - org.zkoss.util.resource.XMLResourcesLocator.Resource

- Enclosing interface:
    XMLResourcesLocator

      public static class XMLResourcesLocator.Resource
      extends java.lang.Object

  An item of the list returned by `XMLResourcesLocator.getDependentXMLResources(java.lang.String, java.lang.String, java.lang.String)`.
  Since:
    6.0.0

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Document` | `document` | The content of the resource.
    `java.net.URL` | `url` | The URL of the resource.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Resource​(java.net.URL url, Document document)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(java.lang.Object o)` |
    `int` | `hashCode()` |
    `java.lang.String` | `toString()` |

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### url

          public final java.net.URL url

      The URL of the resource.

    - #### document

          public final Document document

      The content of the resource.

  - ### Constructor Detail

    - #### Resource

          public Resource​(java.net.URL url,
                          Document document)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals​(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`