Class ResolverAttachment
- java.lang.Object
-
- 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
Constructors Constructor Description ResolverAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
canResolve
public org.apache.xml.security.stax.ext.ResourceResolverLookup canResolve(String uri, String baseURI)
- Specified by:
canResolve
in interfaceorg.apache.xml.security.stax.ext.ResourceResolverLookup
-
newInstance
public org.apache.xml.security.stax.ext.ResourceResolver newInstance(String uri, String baseURI)
- Specified by:
newInstance
in interfaceorg.apache.xml.security.stax.ext.ResourceResolverLookup
-
isSameDocumentReference
public boolean isSameDocumentReference()
- Specified by:
isSameDocumentReference
in interfaceorg.apache.xml.security.stax.ext.ResourceResolver
-
matches
public boolean matches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement)
- Specified by:
matches
in interfaceorg.apache.xml.security.stax.ext.ResourceResolver
-
getInputStreamFromExternalReference
public InputStream getInputStreamFromExternalReference() throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
getInputStreamFromExternalReference
in interfaceorg.apache.xml.security.stax.ext.ResourceResolver
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
-