com.thalesgroup.dtkit.util.validator
Class ValidationService.Resolver
java.lang.Object
com.thalesgroup.dtkit.util.validator.ValidationService.Resolver
- All Implemented Interfaces:
- LSResourceResolver
- Enclosing class:
- ValidationService
protected static class ValidationService.Resolver
- extends Object
- implements LSResourceResolver
Inner class to implement a resource resolver. This version always returns null, which
has the same effect as not supplying a resource resolver at all. The LSResourceResolver
is part of the DOM Level 3 load/save module.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationService.Resolver
protected ValidationService.Resolver()
resolveResource
public LSInput resolveResource(String type,
String namespace,
String publicId,
String systemId,
String baseURI)
- Resolve a reference to a resource
- Specified by:
resolveResource in interface LSResourceResolver
- Parameters:
type - The type of resource, for example a schema, source XML document, or querynamespace - The target namespace (in the case of a schema document)publicId - The public IDsystemId - The system identifier (as written, possibly a relative URI)baseURI - The base URI against which the system identifier should be resolved
- Returns:
- an LSInput object typically containing the character stream or byte stream identified
by the supplied parameters; or null if the reference cannot be resolved or if the resolver chooses
not to resolve it.
Copyright © 2004-2011. All Rights Reserved.