public class XsltPackage extends Object
xsl:package
element.Modifier | Constructor and Description |
---|---|
protected |
XsltPackage(Processor p,
StylesheetPackage pp) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the package (the URI appearing as the value of
xsl:package/@name ) |
Processor |
getProcessor()
Get the processor under which this package was created
|
StylesheetPackage |
getUnderlyingPreparedPackage()
Escape-hatch interface to the underlying implementation class.
|
String |
getVersion()
Get the version number of the package (the value of the attribute
xsl:package/@package-version |
XsltExecutable |
link()
Link this package with the packages it uses to form an executable stylesheet.
|
protected XsltPackage(Processor p, StylesheetPackage pp)
public Processor getProcessor()
public String getName()
xsl:package/@name
)public String getVersion()
xsl:package/@package-version
public XsltExecutable link() throws SaxonApiException
SaxonApiException
- if any error is found during the linking process, for example
if the constituent packages containing duplicate component names, or if abstract components
are not resolved.public StylesheetPackage getUnderlyingPreparedPackage()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.