Package be.fgov.ehealth.technicalconnector.signature.resolvers

# Class DocumentResolver

java.lang.Object
org.apache.xml.security.utils.resolver.ResourceResolverSpi
be.fgov.ehealth.technicalconnector.signature.resolvers.DocumentResolver

public class DocumentResolver extends org.apache.xml.security.utils.resolver.ResourceResolverSpi
Custom resolver used by xmlsec to resolve a nested document.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DocumentResolver(Document doc)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `engineCanResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context)`
  `org.apache.xml.security.signature.XMLSignatureInput`
  `engineResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DocumentResolver

    public DocumentResolver(Document doc)

- ## Method Details

  - ### engineCanResolveURI

    public boolean engineCanResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context)
    Specified by:
      `engineCanResolveURI` in class `org.apache.xml.security.utils.resolver.ResourceResolverSpi`

  - ### engineResolveURI

    public org.apache.xml.security.signature.XMLSignatureInput engineResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context) throws org.apache.xml.security.utils.resolver.ResourceResolverException
    Specified by:
      `engineResolveURI` in class `org.apache.xml.security.utils.resolver.ResourceResolverSpi`
    Throws:
      `org.apache.xml.security.utils.resolver.ResourceResolverException`