org.apache.wss4j.stax.impl.resourceResolvers
Class ResolverAttachment

java.lang.Object
  extended by org.apache.wss4j.stax.impl.resourceResolvers.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 Summary
ResolverAttachment()
           
 
Method Summary
 org.apache.xml.security.stax.ext.ResourceResolverLookup canResolve(String uri, String baseURI)
           
 InputStream getInputStreamFromExternalReference()
           
 boolean isSameDocumentReference()
           
 boolean matches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement)
           
 org.apache.xml.security.stax.ext.ResourceResolver newInstance(String uri, String baseURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.