|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.validation.impl.ValidationResolver org.apache.cocoon.components.validation.jaxp.JaxpResolver
public class JaxpResolver
An implementation of the LSResourceResolver
interface based on the
generic ValidationResolver
to supply to JAXP schema factories.
Constructor Summary | |
---|---|
JaxpResolver(SourceResolver sourceResolver,
EntityResolver entityResolver)
Create a new JaxpResolver instance. |
Method Summary | |
---|---|
LSInput |
resolveResource(String type,
String namespace,
String publicId,
String systemId,
String base)
Resolve a resource into a LSInput from the provided location
information. |
Methods inherited from class org.apache.cocoon.components.validation.impl.ValidationResolver |
---|
close, finalize, resolveEntity, resolveEntity, resolveEntity, resolveSource, resolveSource, resolveSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxpResolver(SourceResolver sourceResolver, EntityResolver entityResolver)
Create a new JaxpResolver
instance.
Method Detail |
---|
public LSInput resolveResource(String type, String namespace, String publicId, String systemId, String base) throws LSException
Resolve a resource into a LSInput
from the provided location
information.
This method will obtain a InputSource
instance invoking the
ValidationResolver.resolveEntity(String, String, String)
method
return it wrapped in a JaxpInput
instance.
resolveResource
in interface LSResourceResolver
type
- the type of the resource being resolved.namespace
- the namespace of the resource being resolved.systemId
- the system identifier of the resource being resolved.publicId
- the public identifier of the resource being resolved.base
- the base uri against wich relative resolution should happen.
LSInput
instance.
LSException
- wrapping another Exception
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |