Package net.sf.saxon.trans.packages

## Class UsePack

- java.lang.Object
- - net.sf.saxon.trans.packages.UsePack

-     public class UsePack
      extends java.lang.Object

  Describes an xsl:use-package requirement from within a package, in terms of a name and a set of version ranges

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Location` | `location` |
    `java.lang.String` | `packageName` |
    `PackageVersionRanges` | `ranges` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UsePack​(java.lang.String name, java.lang.String version, Location location)` |

  - ### Method Summary

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

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

- - ### Field Detail

    - #### packageName

          public java.lang.String packageName

    - #### ranges

          public PackageVersionRanges ranges

    - #### location

          public Location location

  - ### Constructor Detail

    - #### UsePack

          public UsePack​(java.lang.String name,
                         java.lang.String version,
                         Location location)
                  throws XPathException

      Throws:
        `XPathException`