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.javax.xml.bind.JAXBElementGet the JAXBElementjavax.xml.bind.JAXBContextGet JAXBContextvoidsetJaxbElement(javax.xml.bind.JAXBElement jaxbElement) voidsetJbContext(javax.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 javax.xml.bind.JAXBElement getJaxbElement()Get the JAXBElement- Returns:
- JAXBElement
-
setJaxbElement
public void setJaxbElement(javax.xml.bind.JAXBElement jaxbElement) -
getJbContext
public javax.xml.bind.JAXBContext getJbContext()Get JAXBContext- Returns:
- JAXBContext
-
setJbContext
public void setJbContext(javax.xml.bind.JAXBContext jbContext) Set JAXBContext- Parameters:
jbContext- - JAXBContext
-