public class PackageCatalog extends Object
| Constructor and Description |
|---|
PackageCatalog(Processor processor)
Create a package catalog
|
PackageCatalog(Processor processor,
Source s)
Create a package catalog from a supplied XML document containing the
package information
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCatalog(Source s)
Add packages from an XML document containing the package catalog
|
List<Source> |
getSources()
Get the Source objects representing packages listed in the catalog
|
public PackageCatalog(Processor processor)
processor - the s9api processorpublic PackageCatalog(Processor processor, Source s) throws SaxonApiException
processor - the s9api processors - the XML source of the package catalogSaxonApiException - if processing the catalog failspublic void addCatalog(Source s) throws SaxonApiException
s - the XML source of the package catalogSaxonApiException - if processing the catalog failsCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.