Class JAXBURIDereferencer
java.lang.Object
com.sun.xml.ws.security.opt.crypto.jaxb.JAXBURIDereferencer
- All Implemented Interfaces:
URIDereferencer
- Author:
- Abhijit Das
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondereference(URIReference uRIReference, XMLCryptoContext xMLCryptoContext) Dereferences the specified URIReference and returns the dereferenced data.jakarta.xml.bind.JAXBElementGet the JAXBElementjakarta.xml.bind.JAXBContextGet JAXBContextvoidsetJaxbElement(jakarta.xml.bind.JAXBElement jaxbElement) voidsetJbContext(jakarta.xml.bind.JAXBContext jbContext) Set JAXBContext
-
Constructor Details
-
JAXBURIDereferencer
public JAXBURIDereferencer()Creates a new instance of JAXBURIDereferencer
-
-
Method Details
-
dereference
public Data dereference(URIReference uRIReference, XMLCryptoContext xMLCryptoContext) throws URIReferenceException Dereferences the specified URIReference and returns the dereferenced data. uriReference - the URIReference xMLCryptoContext - an XMLCryptoContext that may contain additional useful information for dereferencing the URI. This implementation should dereference the specified URIReference against the context's baseURI parameter, if specified.- Specified by:
dereferencein interfaceURIDereferencer- Returns:
- Data - the dereferenced data
- Throws:
URIReferenceException
-
getJaxbElement
public jakarta.xml.bind.JAXBElement getJaxbElement()Get the JAXBElement- Returns:
- JAXBElement
-
setJaxbElement
public void setJaxbElement(jakarta.xml.bind.JAXBElement jaxbElement) -
getJbContext
public jakarta.xml.bind.JAXBContext getJbContext()Get JAXBContext- Returns:
- JAXBContext
-
setJbContext
public void setJbContext(jakarta.xml.bind.JAXBContext jbContext) Set JAXBContext- Parameters:
jbContext- - JAXBContext
-