public class DefaultSchematronIncludeResolver extends Object implements ISchematronIncludeResolver
ISchematronIncludeResolver
using the
DefaultResourceResolver.getResolvedResource(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
ISchematronIncludeResolver
getResolvedSchematronResource
in interface ISchematronIncludeResolver
sHref
- The source href that needs to be resolved relative to some base hrefIOException
- In case of a resolution errorCopyright © 2014–2017 Philip Helger. All rights reserved.