public class Packages extends java.lang.Object implements Universe
| Constructor and Description |
|---|
Packages(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Package pkg) |
Package |
latest() |
java.lang.String |
name() |
java.util.Collection<Package> |
packages() |
void |
remove(Package pkg) |
javax.xml.transform.Source |
resolve(java.lang.String href,
URISpace space)
Resolve a specific URI, in a specific space, into a stream source.
|
javax.xml.transform.Source |
resolve(java.lang.String href,
URISpace space,
boolean transitive)
Resolve a specific URI, in a specific space, into a stream source.
|
Package |
version(java.lang.String version)
Return a specific version of the package.
|
public java.lang.String name()
public java.util.Collection<Package> packages()
public Package latest()
public void add(Package pkg)
public Package version(java.lang.String version)
version - the package versionpublic void remove(Package pkg)
public javax.xml.transform.Source resolve(java.lang.String href,
URISpace space)
throws PackageException
Universeresolve in interface Universehref - the URIspace - the URI spacePackageException - if an error occurspublic javax.xml.transform.Source resolve(java.lang.String href,
URISpace space,
boolean transitive)
throws PackageException
Universeresolve in interface Universehref - the URIspace - the URI spacetransitive - true if package dependencies are used to resolve the hrefPackageException - if an error occursCopyright © 2015-2020 EXPath. All Rights Reserved