public class XSLTResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static QName |
_NAME |
protected static QName |
_PACKAGE_VERSION |
| Constructor and Description |
|---|
XSLTResource(Component component) |
XSLTResource(Module module,
String path) |
XSLTResource(XSLTResource resource) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getResource() |
Set<Dependency> |
listDependencies(ModuleRegistry resolver,
Set<File> sourceRoots,
ClassLoader compileClassPath,
XMLInputFactory parser)
List the dependencies of this resource.
|
protected static final QName _NAME
protected static final QName _PACKAGE_VERSION
public XSLTResource(Module module, String path) throws NoSuchFileException
NoSuchFileExceptionpublic XSLTResource(XSLTResource resource)
public XSLTResource(Component component)
public URL getResource()
public Set<Dependency> listDependencies(ModuleRegistry resolver, Set<File> sourceRoots, ClassLoader compileClassPath, XMLInputFactory parser)
xsl:import and xsl:include that
reference a component (either in the same module or in another one). It also resolves
xsl:use-package and it resolves XPath extension functions defined in Java. Other
dependencies are ignored.
The dependencies may include (external) Component, UseXSLTPackage and
(internal) JavaDependency. Imported/included resources from the same module are
handled recursively.Copyright © 2010–2025 The DAISY Consortium. All rights reserved.