Class ResolverAttachment

  • All Implemented Interfaces:
    org.apache.xml.security.stax.ext.ResourceResolver, org.apache.xml.security.stax.ext.ResourceResolverLookup

    public class ResolverAttachment
    extends Object
    implements org.apache.xml.security.stax.ext.ResourceResolver, org.apache.xml.security.stax.ext.ResourceResolverLookup
    Fake Resolver for SwA (SOAP with Attachment)
    • Constructor Detail

      • ResolverAttachment

        public ResolverAttachment()
    • Method Detail

      • canResolve

        public org.apache.xml.security.stax.ext.ResourceResolverLookup canResolve​(String uri,
                                                                                  String baseURI)
        Specified by:
        canResolve in interface org.apache.xml.security.stax.ext.ResourceResolverLookup
      • newInstance

        public org.apache.xml.security.stax.ext.ResourceResolver newInstance​(String uri,
                                                                             String baseURI)
        Specified by:
        newInstance in interface org.apache.xml.security.stax.ext.ResourceResolverLookup
      • isSameDocumentReference

        public boolean isSameDocumentReference()
        Specified by:
        isSameDocumentReference in interface org.apache.xml.security.stax.ext.ResourceResolver
      • matches

        public boolean matches​(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement)
        Specified by:
        matches in interface org.apache.xml.security.stax.ext.ResourceResolver
      • getInputStreamFromExternalReference

        public InputStream getInputStreamFromExternalReference()
                                                        throws org.apache.xml.security.exceptions.XMLSecurityException
        Specified by:
        getInputStreamFromExternalReference in interface org.apache.xml.security.stax.ext.ResourceResolver
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException