public class DefaultSchematronIncludeResolver extends Object implements ISchematronIncludeResolver
ISchematronIncludeResolver using the
SimpleLSResourceResolver.doStandardResourceResolving(String, String)
method internally.| Constructor and Description |
|---|
DefaultSchematronIncludeResolver(com.helger.commons.io.resource.IReadableResource aResource) |
DefaultSchematronIncludeResolver(String sBaseHref) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseHref() |
com.helger.commons.io.resource.IReadableResource |
getResolvedSchematronResource(String sHref)
Resolve the content of the passed href to a resource
|
String |
toString() |
public DefaultSchematronIncludeResolver(@Nonnull com.helger.commons.io.resource.IReadableResource aResource)
@Nonnull public com.helger.commons.io.resource.IReadableResource getResolvedSchematronResource(@Nonnull @Nonempty String sHref) throws IOException
ISchematronIncludeResolvergetResolvedSchematronResource in interface ISchematronIncludeResolversHref - The source href that needs to be resolved relative to some base hrefIOException - In case of a resolution errorCopyright © 2014–2016 Philip Helger. All rights reserved.