*/
public class CipherReferenceMarshaller extends AbstractXMLEncryptionMarshaller {
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
CipherReference cr = (CipherReference) xmlObject;
if (cr.getURI() != null) {
domElement.setAttributeNS(null, CipherReference.URI_ATTRIB_NAME, cr.getURI());
} else {
super.marshallAttributes(xmlObject, domElement);
}
}