public class XProcResource extends Object
| Constructor and Description |
|---|
XProcResource(Component component) |
XProcResource(Module module,
String path) |
| Modifier and Type | Method and Description |
|---|---|
Set<Dependency> |
listDependencies(ModuleRegistry resolver,
Set<File> sourceRoots,
ClassLoader compileClassPath,
XMLInputFactory parser)
List the dependencies of this resource.
|
public XProcResource(Module module, String path) throws NoSuchFileException
NoSuchFileExceptionpublic XProcResource(Component component)
public Set<Dependency> listDependencies(ModuleRegistry resolver, Set<File> sourceRoots, ClassLoader compileClassPath, XMLInputFactory parser)
p:import, cx:import,
p:document, xsl:import, xsl:include and
rng: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. XSLT/XProc/RelaxNG resources from the same module are
handled recursively.Copyright © 2010–2025 The DAISY Consortium. All rights reserved.